Bug #11046 MySQL fails to start with "Could not open required defaults file"
Submitted: 2 Jun 2005 16:34 Modified: 2 Jun 2005 16:48
Reporter: Lenz Grimmer Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.0.6 OS:MacOS (Mac OS X 10.3)
Assigned to: CPU Architecture:Any

[2 Jun 2005 16:34] Lenz Grimmer
Description:
When installing the MySQL 5.0.6 on Mac OS X, the server refuses to start up with the following
error message in the server log:

050602 18:27:55  mysqld started
Could not open required defaults file: /usr/local/mysql/data/my.cnf
Fatal error in defaults handling. Program aborted
050602 18:27:55  mysqld ended

This used not to be necessary for starting up MySQL.
Simply touching the above my.cnf mentioned file will work around this error, but is just a temporary solution. MySQL should start up without a config file!

How to repeat:
1. Install MySQL and the StartupItem from mysql-standard-5.0.6-beta-osx10.3-powerpc.dmg
2. Open a shell and try to start it by executing "sudo /Library/StartupItems/MySQLCOM/MySQLCOM start"
3. Look at /usr/local/mysql/data/<hostname>.err and notice the error message described above.
[2 Jun 2005 16:48] Lenz Grimmer
This bug was marked as a duplicate of BUG#10940