Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does WAMP server store database files

My hard-drive has encountered some problems and I am unable to boot Windows with it.

I am able to view the drive's contents by connecting it to another PC as an external drive.

On the culprit drive I was running a local WAMP server for dev purposes and I'm looking to save the mySQL databases from it.

I can see my wamp directory at E:\wamp. Is it possible to start up the server from here so as to use phpmyadmin to perform a mysqldump? If not what are my options to recover the DB-

like image 364
irishbuzz Avatar asked Mar 31 '11 14:03

irishbuzz


People also ask

Is WampServer a database?

WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, phpMyAdmin allows you to manage easily your databases. WAMP is an acronym for Windows Apache MySQL PHP.

Where are phpMyAdmin files stored?

Your phpMyAdmin files are located in the /usr/share/phpmyadmin/ directory.


1 Answers

On my system, they are in C:\Program Files (x86)\WampServer\bin\mysql\mysql5.1.53\data. So in yours they would be in E:\wamp\bin\mysql\mysql-version\data.

You can start mysql locally from E:\wamp\bin\mysql\mysql-version\bin, where all the executables are. Be aware that the configuration file you want to use is E:\wamp\bin\mysql\mysql-version\my.ini.

You can also simply copy all the subdirectories to another server. I'm no MySql expert, but that should let the other server use your databases without problem.

like image 151
Jon Avatar answered Sep 21 '22 12:09

Jon