MySQL Forums
Forum List  »  Install & Repo

Re: Deleting Server Instance Fails
Posted by: Peter Brawley
Date: March 07, 2012 12:00PM

In the following, <MYSQL_HOME> refers to the full path to your installation folder. Run the MySQL server in a DOS window with this command:

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

Beware two bugs. First, if you are running XP SP2, you may have to add --skip-slave-start to that command, even if you have not set up replication! Second, to step round a long-unfixed MySQL server bug, always put the defaults-file argument first.

If the above cmd fails, you see error messages. You may want to post them here. If it succeeds, assuming InnoDB is enabled, MySQL will spit out several lines ending with something like this:

101127 21:35:22 InnoDB: 1.1.3 started; log sequence number 1532574764

Note that it appears to hang (because the server is still running).

Now in another DOS window, from the installation folder, try to connect to your server:

<MYSQL_HOME>\bin\mysql -uroot


Options: ReplyQuote

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.