MySQL Forums
Forum List  »  Install & Repo

Re: Could not start the service MySQL. Error: 0
Posted by: Pavel Srubar
Date: May 25, 2009 08:23AM

The Setup Wizard for MySQL Server 5.1 allows to change the installation directory. I choose N:\MySQL, where I have more free space.
However, the room for data is by default created in All Users' application data directory. In my case it was
C:\Document and Settings\All Users\Data aplikací\MySQL\Data\.
Localized versions of Windows XP translate the %APPDATA% folder with non-ASCII characters, which MySQL seems not to be able to cope with.

After Setup Wizard had announced its famous message which gave name to this thread,
I manually edited N:\MySQL\my.ini and changed the section
#Path to the database root
Then I moved the data directory from All Users' Application data\MySQL\data to its new position N:\MySQL\data and succesfully started the MySQL service. No reinstalling necessary.

Edited 1 time(s). Last edit at 05/25/2009 08:27AM by Pavel Srubar.

Options: ReplyQuote

Written By
Re: Could not start the service MySQL. Error: 0
May 25, 2009 08:23AM

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.