MySQL Forums
Forum List  »  Install & Repo

Re: After moving datadir, mysql won't start
Posted by: Lars Tangvald
Date: December 12, 2016 06:49AM

Clarification to the above:
You don't actually need a database in /var/lib/mysql.
The service script only checks that the paths /var/lib/mysql and /var/lib/mysql/mysql exist, so it should work to just have an empty directory there.

Options: ReplyQuote


Subject
Written By
Posted
Re: After moving datadir, mysql won't start
December 12, 2016 06:49AM


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.