MySQL Forums
Forum List  »  Install & Repo

Move Data Files to a 2nd disk
Posted by: Salam ELIAS
Date: April 13, 2022 02:36AM

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
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

Options: ReplyQuote

Written By
Move Data Files to a 2nd disk
April 13, 2022 02:36AM

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.