Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A fix for a MySQL5 Control Panel system boot crash System
After sort of crash of the mysqld server, I tried unsucessfully to stop/start the deamon from the fancy MySQL5 System Preferences panel. (I use bash all day at work on linux, so using my Mac is a happy time at home.)

Unfortunately, the Prefs panel didn't work, so I had to use sudo kill to stop the mysqld server processes. The next day, I restarted my PowerBook, but it refused to start in anything other than single user mode. I quickly found that the /etc/hostconfig file has disappeared!

Here's the line used by the MySQL5 control panel in hostconfig at boot time:
MYSQLCOM=-NO-
Hopefully, a backup was automatically done by the system. If it was, then after the following standard procedure...
root$ fsck -yf
root$ mount -uw /
...you then just need to copy the backup file and reboot:
root$ cp /etc/hostconfig~ /etc/hostconfig
root$ reboot
Voila! I hope this helps anyone affected by the same issue...
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[4,857 views]  

A fix for a MySQL5 Control Panel system boot crash | 0 comments | Create New Account
Click here to return to the 'A fix for a MySQL5 Control Panel system boot crash' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.