hAj wrote:
Dear folks,
Right after installing from mysql-standard-4.0.18.pkg, I came up with the following:
sudo /usr/local/mysql/bin/mysqld_safe Password: Starting mysqld daemon with databases from /usr/local/mysql/data 040506 07:13:11 mysqld ended
----
As far as I read the instruction I have no clue if I missed out anything. Could anyone please give me suggestions?
Thanx.
This is probably one or both of two things:
1. The data directory is owned by root instead of by mysql. The fix:
cd /usr/local/mysql sudo chown -R mysql:mysql data
2. At least a couple Mac OS X updates set incorrect permissions on /tmp (/private/tmp, actually) such that mysqld cannot create its socket. The fix:
cd /tmp sudo chmod 1777 .
Check both of these, then
cd /usr/local/mysql sudo -v sudo bin/mysqld_safe &
If mysql still fails to start up, check /usr/local/mysql/data/hostname.err, where hostname is the name of your Mac, for the reason.
Michael
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]