Move Data Files to a 2nd disk
Hi, Currently I have my mySql data in var/lib/mysql. I added a 2nd disk, called data at mnt/salam/mySqlData/ to my box, copied
var/lib/mysql
to
mnt/salam/mySqlData/mysql
Changed the owner to mysql and my user to read and write.
Changed the datadir in my.cnf to reflect the new directory.
When I start mysqld it erros and refuses to start.
What else I should do? Thanks
Subject
Written By
Posted
Move Data Files to a 2nd disk
April 13, 2022 02:36AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.