p***@warpstudio.ch
2007-01-30 09:29:51 UTC
Hi,
I would like to move my DBs in another directory.
I know that I have to change in my.cnf the datadir path ....
[mysqld]
datadir=/var/lib/mysql
-> datadir=/user/mysql/databases
now my question is, can I simple copy all my DBs to the new datadir,
and then restart mysql server ?
Or is there something to take care ?
Thanks a lot
JP
I would like to move my DBs in another directory.
I know that I have to change in my.cnf the datadir path ....
[mysqld]
datadir=/var/lib/mysql
-> datadir=/user/mysql/databases
now my question is, can I simple copy all my DBs to the new datadir,
and then restart mysql server ?
Or is there something to take care ?
Thanks a lot
JP