Hi All,
Is it possible, if I change my default mysql data directory to other. But, will I be able to access the databases from old location.
any inputs will be a great help.
Thanks in advance
Regards, Manasi
Hi All,
Is it possible, if I change my default mysql data directory to other. But, will I be able to access the databases from old location.
any inputs will be a great help.
Thanks in advance
Regards, Manasi
you would have to copy the current data to the new directory and to change your my.cnf
your MySQL.
[mysqld]
datadir=/your/new/dir/
tmpdir=/your/new/temp/
You have to copy the database when the server is not running.