I wanted to know if there is a way to recover the data of a de-installed mysql server.
feedback
|
|
The mysql databases are usually stored as files in the filesystem in some location different from the mysqld binaries (e.g. /var/lib/mysql) and not deleted during package removal. You can access the data just by configuring a mysql instance's "datadir" to look there and launching it. /etc/my.cnf:
Just search your filesystem for files named | |||||||||||
feedback
|
|
It should still be in the installation location, under the data folder (ex, | |||
|
feedback
|
|
When MYSQL is uninstalled all the folders are removed except data folder present at. C:\Program Files\MySQL\MySQL Server 5.0\data At this location a folder having name same as the schema/database on which you were working earlier will be present.Copy this folder and ibdata1 file at a separate location. Now reinstall MYSQL again and copy the earlier saved contents(*folder* and ibdata1) at this location i.e C:\Program Files\MySQL\MySQL Server 5.0\data Open Mysql Administrator and perform the backup of database. | ||||
|
feedback
|