Bug #11240 Automatic start-up does not work

Submitted: 10 Jun 2005 11:54 Modified: 15 Jun 2005 11:25
Reporter: Ric Dunn Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.0.6 beta OS:MacOS (OS X 10.4.1)
Assigned to: CPU Architecture:Any

[10 Jun 2005 11:54] Ric Dunn
Description:
MySQL will not automatically start when booting the computer.  I had this problem with 5.0.3 and 5.0.4 fixed it (bug 9829).  If I go to the command line and manually invoke "mysql.server start", I get the following:

Starting MySQL................................... ERROR! 

I can manually start the server with "mysqld_safe".

How to repeat:
Install 5.0.6.
[11 Jun 2005 19:57] Ric Dunn
Apparently 5.0.6 will not launch from mysql.server if there is no my.cnf file in the data directory.  I added my.cnf to the /usr/local/mysql/data directory and automatic start-ups work fine now.
[11 Jun 2005 21:10] Ric Dunn
Oh, yeah, here's the message from the error log:

050610 07:54:37 mysqld started 
Could not open required defaults file: /usr/local/mysql/data/my.cnf 
Fatal error in defaults handling. Program aborted 
050610 07:54:37 mysqld ended
[15 Jun 2005 11:25] Aleksey Kishkin
duplicate of http://bugs.mysql.com/bug.php?id=10940

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.