MySQL Forums
Forum List  »  Install & Repo

Re: MySQL Service Will Not Start / Windows Server 2012
Posted by: Peter Brawley
Date: August 25, 2020 01:25PM

Quote

when mysql is fired up via the console, it seems to want to use this folder C:\Program Files\MySQL\MySQL Server 5.6\data as it's data folder.
Strangely and stupidly, that's been a MySQL default data folder setting.

To get the server program to point at the correct data folder, add --datadir=PathToDatadir to the command line.

Once MySQL is running against the correct datadir without errors, recnfigure the service in services.msc with the same cmd.

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.