MySQL 5.5.8 卸载 MAC OS 10.6.5,重新启动计算机是消息“/Library/StartupItems/MySQLCOM”尚未启动,因为它没有正确的安全设置。我设置 sudo/Applications/TextEdit.app/Contents/MacOS/TextEdit/usr/local/mysql/support-files/mysql.server
找到定义 basedir 的配置并设置以下内容: basedir=/usr/本地/mysql datadir=/usr/local/mysql/data
错误我点击mysql首选项启动mysql服务器未启动
我 sudo chown -R root:wheel/Library/StartupItems/MySQLCOM 并再次重启,不是警告消息,而是 mysql 服务器未启动,为什么?
最佳答案
我刚刚在 Mac os X 10.6.5 上安装了 MySQL 5.5.8 (mysql-5.5.8-osx10.6-x86_64.dmg),但也遇到了 MySQL 无法启动的问题。
看完这篇文章后: http://forums.mysql.com/read.php?11,399397,399606#msg-399606
Modify the mysql.server script file using the following command :
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /usr/local/mysql/support-files/mysql.server
Locate the configuration defining the basedir and set the following:
basedir=/usr/local/mysql datadir=/usr/local/mysql/data
Save the file and start the mysql server in the system preferences / terminal
这解决了问题。
希望这对您有所帮助。感谢http://forums.mysql.com/profile.php?11,3773555 !
关于mysql5.58 在 mac os 10.6.5 中取消启动服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4486543/