Moving databases to xampp

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Moving databases to xampp

Postby nandnor » 27. May 2008 23:51

I recently reinstalled mysql using xampp. I'd like to move my previous databases to wherever they need to be for xampp. Does anyone know where this might be? And where I need to move them?
Posts: 1
Joined: 27. May 2008 23:35

Postby liquidx » 28. May 2008 03:51

if u set the installation directory to the default value, the location of ur mysql data would be at /Applications/xampp/xamppfiles/var/mysql. u can try to copy and paste ur old databases to that location. take note that the procedure might or might not work, most of the time it might.

but really, the best option for u to move ur databases is by using the mysqldump function to dumping ur old databases into a sql file, then re-import the file back into ur new mysql.

refer to the manual if u're not sure how to use the mysqldump function

good luck

my 2 penny of opinion
Posts: 13
Joined: 21. May 2008 09:34

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 4 guests