Page 1 of 1

Where is the Mysql database on Mac OSX?

Posted: Fri Jan 24, 2003 2:55 pm
by mikebr
I have a database set up on my desktop computer (Mac OSX) but want to move it onto my laptop (OSX) but can't seem to find any database or even know where to start to find it to copy it, it does exist but where?

Can anyone point me to how I make a copy of it and where it would be located?

Thanks

Posted: Sat Jan 25, 2003 7:29 am
by twigletmac
If you use phpMyAdmin it is relatively simple to take a copy of the database's tables and export them to another MySQL installation:
viewtopic.php?t=5899
or from the command line there's:
http://www.mysql.com/doc/en/mysqldump.html
and
http://www.mysql.com/doc/en/LOAD_DATA.html

Mac

Posted: Fri Jan 31, 2003 2:56 pm
by redJag
/usr/local/mysql/data