MySQL Forums
Forum List  »  Newbie

Re: Missing Database
Posted by: Peter Brawley
Date: September 15, 2014 12:33PM

> I managed to get the server running by finding the mysqld.exe file and running the file “as administrator”.

You probably ran mysqld.exe without its defaults-file argument, leaving the server unable to find your databases.

In the Win8 Services applet, find the full command that the MySQL service uses. Open a command window, navigate to the bin folder of the MySQL installation, paste in that command and add to it ...

--console –-skip-grant-tables

so it looks like this ...

mysqld --defaults-file="<MYSQL_HOME>\my.ini" --console –-skip-grant-tables

where <MYSQL_HOME> is the full path to that bin folder. Whatever errors are keeping the MySQL server from running will be reported in that window. Fix them and repeat this process till the server runs without error.

Options: ReplyQuote


Subject
Written By
Posted
September 15, 2014 03:14AM
Re: Missing Database
September 15, 2014 12:33PM
September 25, 2014 03:42AM
September 25, 2014 10:54AM


Sorry, you can't reply to this topic. It has been closed.

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.