Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

Per-database datadir (2 replies)

$
0
0
I want to move the data files for a single database on my server to a new location (I'm out of disk, so I want to spread the db files across 2 disks.) Seems to me that there must be some way to do this, but everything that I can find on moving db files or setting datadir seems to be about moving ALL of your db files to a new central location for the server, and setting the server-wide datadir. Which doesn't do me any good. How do I move the files for a single db only? (Or more accurately, how do I get mysql to find them again after I've moved them - I can work that bit out...)

Thanks for any help you can give,

- rob.

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>