on *nix mysql will be happy to follow symbolic links, so you can effectively put the database directory anywhere, or you can use the --datadir(sp?) argument to specify where you want it from the mysqld startup file. ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
These commands should do it:
mkdir /new/path/to/dbs
cp -R /old/path/to/dbs/* /new/path/to/dbs
rm -fr /old/path/to/dbs
ln -s /new/path/to/dbs /old/path/to/dbs
If you don't want to move your existing databases, leave out the cp command. //Daniel
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.