This is a discussion on Change datadir directory within the MySQL Database forums, part of the Database Forums category; Hi, I would like to move my DBs in another directory. I know that I have to change in my....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |