MySQL not starting at boot-Fedora Core 3

Mark Sargent powderkeg at snow.email.ne.jp
Mon Apr 18 03:57:38 UTC 2005


Arthur Pemberton wrote:

> Mark Sargent wrote:
>
>> Hi All,
>>
>> attempting another mysql install, on a 3rd machine. Extracted the 
>> tar.gz file to /usr/local/mysql. Followed the install docs here,
>>
>> http://dev.mysql.com/doc/mysql/en/installing-binary.html
>>
>> and successfully ran the MySql grant tables script,
>>
>> 6. If you haven't installed MySQL before, you must create the MySQL 
>> grant tables:
>>
>> shell> scripts/mysql_install_db --user=mysql
>>
>>
>> I then followed here,
>>
>> http://dev.mysql.com/doc/mysql/en/automatic-start.html
>>
>> to a T, and copied mysql.server to /etc/init.d, and just for good 
>> measure, gave it permission to execute,
>>
>> chmod +x /etc/init.d/mysql
>>
>> I then rebooted(I know it's not really required, but did it anyway), 
>> to see how things would go at boot, and saw a failed message for 
>> mysqld_safe,
>>
>> Apr 16 21:20:01 localhost lsb_log_message: Can't execute 
>> ./bin/mysqld_safe failed
>>
>> Can anyone explain why it wouldn't start..? Anything I should be 
>> looking for..? I can start the server with ./mysqld_safe from within 
>> the bin dir and I can connect as root or mysql. Cheers.
>>
>> /etc/init.d/mysql permissions
>>
>> [root at localhost init.d]# ls -lh mysql
>> -rwxr-xr-x  1 root root 6.2K Apr 16 21:11 mysql
>>
>> /var/log/mysqld.log doesn't show anything as I think it only logs 
>> errors once running. /var/boot.log only shows the same error seen at 
>> boot as does /var/log/boot.log.
>>
>> Mark Sargent.
>>
> What are the permissions on ./bin/mysqld_safe ?
>
Hi All,

I will double check when I get home tonight. I most certainly haven't 
changed any permissions for any files in the mysql dir. Still, doesn't 
hurt to look. The script works fine on my work machine. Same setup. Cheers.

Mark Sargent.




More information about the fedora-list mailing list