I have installed mysql and XAMPP on my system. I wanted to remove the mysql service of XAMPP. After removing it, I tried to install the new service for mysql using "MySQLInstanceConfig.exe". but now I can't see any of my databases or tables. Have I lost all my data? The data folder in mysql directory is full.
This is a picture of my data folder. I have all the data here. but mysql can not read them.
Is there any way to make the mysql read these !?
Best Answer
If the mysql service is up right now, shut it down
You need to create my.ini
Go to
C:\Program Files\MySQL\MySQL Server 5.5
You should see a bin folder and the data folder you have in your question
Create my.ini in
C:\Program Files\MySQL\MySQL Server 5.5
I noticed you have
mysql-bin
Make sure you have these options in my.ini
You need to start the service manually
By default, when starting up mysqld like this, mysqld.exe expects the my.ini to initially be in its parent directory.
If mysql starts successfully, you should see
mysqld.exe
in the processlilst of the Task Manager and the file clarinet.err should have today's date. You can shut it down using:Now configure mysql service so that it uses
C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld.exe