Bug #19526 Mac OS Install fails
Submitted: 4 May 2006 3:36 Modified: 2 Jun 2006 11:31
Reporter: Andrew Hanson Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:MySQL 5.0.21 OS:MacOS (Mac OS X 10.4 (PowerPC))
Assigned to: CPU Architecture:Any

[4 May 2006 3:36] Andrew Hanson
Description:
With both the standard and max downloadable packages, after running the installers, MySQL fails to start.  It seems to be a permission's issue but I can't figure it out for the life of me.  When I run the command "/usr/local/mysql/bin/mysqld" I get the following error:

060503 23:21:00 [Warning] Can't create test file /usr/local/mysql-standard-5.0.21-osx10.4-powerpc/data/ahanson-g4.lower-test
/usr/local/mysql/bin/mysqld: Can't change dir to '/usr/local/mysql-standard-5.0.21-osx10.4-powerpc/data/' (Errcode: 13)
060503 23:21:00 [ERROR] Aborting

060503 23:21:00 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

When I use the Preferences panel to start the server, the computer sits there thinking for a while, then finally my mouse stops spinning, and the button says "Start Server", it tells me the "Server is stopped" and I cannot connect to the database through the command line client.

This problem continued even after a full restart.

How to repeat:
Download either the Standard or the Max 5.0.21 distribution -> Inside mounted .dmg file run the installer -> run the startup item installer -> install the preference pane -> Open the Preferences file and hit "Start Server" or run the mysqld command from the command line.

Suggested fix:
Not sure, but it does seem to be a permissions issue.
[2 Jun 2006 11:31] Mark Leith
Hi, 

unfortunately I can not repeat this with Mac OSX 10.4.6 on a MacBook Pro (Intel Mac), using 5.0.22, the server installs fine, the preferences panel allows me to start and stop MySQL properly, and I can connect fine with the mysql command line client also:

[markleith@medusa:~] $ mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 5.0.22-max-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> exit
Bye
[markleith@medusa:~] $ uname -a
Darwin medusa 8.6.1 Darwin Kernel Version 8.6.1: Tue Mar  7 16:55:45 PST 2006; root:xnu-792.9.22.obj~1/RELEASE_I386 i386 i386

Could you retry with 5.0.22 please, and if this continues to fail I will have somebody with PowerPC also try and confirm this. 

Best regards

Mark