简体   繁体   中英

Mysql wont start on Mac OSX?

I am a totally newbie on both Mac and Mysql (almost)!

I am having problems to get the mysql to start.

System is Mac osX 10.6.5 Proc is Intel Core 2 Duo (64Bit) Mysql is 5.5.8 for osx 10.6 -> X86_64

It wont start if I use the applet that is installed in systemsettings. It wont startup when I boot my computer, even if the checkbox is ticked. The system gets me an error on boot in "startUpItems/Mysqlcom/" and telling me that there is a permission problem?

Any ideas how I should troubleshoot this?

Best regards, Joakim

MySQL 5.5 has an issue with permissions on Snow Leopard. Try this:

chown -R root:wheel /Library/StartupItems/MySQLCOM

and edit /usr/local/mysql/support-files/mysql.server (lines 46-57):

basedir=/usr/local/mysql datadir=/usr/local/mysql/data

If that doesn't work, you might want to install 5.1.x as that worked fine on Snow Leopard.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM