MySQL Forums
Forum List  »  Newbie

Re: Finally, a hint
Posted by: Barry Galbraith
Date: February 27, 2018 03:40PM

When you say you move the data folder, you do include the /mysql folder in that move don't you?
If you just change datadir in my.cnf, but don't move the /mysql folder, then mysql doesn't know how / what to do.
You say
Quote

I even tried to pull the rug from under it, by deleting it's data while it was running
Do you mean removing the /mysql folder?
MySQL reads the contents of many tables into ram when it starts, and so will survive (a bit) without the folder being there, but can't actually start if it is missing.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
February 24, 2018 04:13PM
February 25, 2018 04:50AM
February 25, 2018 12:32PM
February 25, 2018 12:45PM
February 25, 2018 01:51PM
February 25, 2018 07:16PM
February 26, 2018 02:51PM
February 26, 2018 03:09PM
February 26, 2018 06:21PM
February 26, 2018 11:00PM
February 27, 2018 05:20PM
February 27, 2018 12:03PM
February 27, 2018 02:21PM
February 27, 2018 05:25PM
Re: Finally, a hint
February 27, 2018 03:40PM
February 27, 2018 05:31PM


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.