Bug #7535 | MYSQL 4.1.8 fails to start out of the box (Mac OS X 10.3.7) | ||
---|---|---|---|
Submitted: | 25 Dec 2004 16:58 | Modified: | 5 Feb 2005 16:43 |
Reporter: | John Mallery | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S1 (Critical) |
Version: | 4.1.8 | OS: | MacOS (Mac OS X 10.3.7) |
Assigned to: | CPU Architecture: | Any |
[25 Dec 2004 16:58]
John Mallery
[25 Dec 2004 17:16]
John Mallery
My next step was to rename /usrs/local/mysql/data/ and copy the entire data directory from version 4.1.7 using: cp -Rp "/usr/local/mysql-standard-4.1.7-apple-darwin6.8-powerpc/data/" "/usr/local/mysql- standard-4.1.8-apple-darwin7.6.0-powerpc/data/" After invoking /usr/local/mysql/bin/safe_mysqld & MySQL 4.1.8 comes up and works. I'm not sure if there are changes within the directories /usr/local/mysql/data/mysql/ and /usr/ local/mysql/data/test/ that should be preserved from the original 4.1.8 installation. Please advise.
[2 Feb 2005 17:16]
John Pollard
I too am getting the same error on attempting to start up mysql on Mac OS X 10.3 from a brand new installation ([ERROR] Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist) This happens for mysql 4.1.8 and 4.1.9 It seems that on an initial install it may be ok, but I have had problems with dropping and then recreating a database, so decided to start with a fresh install. I assume all mysql files are contained within /usr/local/mysql so I do find it hard to see how an earlier installation can affect this. I too found that copying the entire data directory from a previous working installation (even from the same release 4.1.9 fixes the problem). Very odd.
[5 Feb 2005 16:43]
Jorge del Conde
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/
[7 Feb 2005 3:25]
John Joseph Bachir
This is because the OS X update makes incorrect permissions on /tmp AND/OR make /tmp a real directory instead of a symlink to... /etc/tmp? /private/tmp? i can't remember. see my saga and solution here: http://blog.johnjosephbachir.org/index.php?p=122
[9 Feb 2005 12:01]
no forms
MySQL 4.1.9. I obtain this error on my laptop (Mac OS X) after installing version 4.1.9 (previously I was using 4.0.7). After the new installation I was unable to start the mysql server (error: STOPPING server from pid file /usr/local/mysql/data/puffin.local.pid). I try to delete all the /usr/local/mysql* directories and reinstall, but nothing change (I always obtains error). The I delete the /Library/Receipts/mysql-standard*.pkg The new installation that I made after this works fine.