I am running OS X 10.5 and I do not know much about MySQL configuration. I am using a local MySQL database to deposit data from an application but it is getting close to my hard disk's capacity. What do I need to do to get the database stored on my external hard disk? Where can I get documentation to learn how to do this?
+3
A:
Here's a little tutorial that might help you. And of course remember to back up everything before doing things like this :)
Ólafur Waage
2009-04-20 16:32:15
Can MySQL store data in two directories. For example can I keep my current MySQL data directory and add another one that is on my external HDD?
hekevintran
2009-04-20 19:21:22
As far as I know you can not (in the sense I think you are asking about)
Ólafur Waage
2009-04-21 09:10:46
A:
One way would be to use mysqldump to create a new database on your external disk.
The point your application at that instance of the database.
IainMH
2009-04-20 16:32:27
A:
You can use an app like Sequel Pro if you want something a bit more graphical, connect to your local databases then hit export. Then you'll have a .sql backup of them, you can use this to restore it later on.
Tom
2009-04-20 16:41:32