Mysql won't start from init.d/mysql but will from mysqld_safe

This is a discussion on Mysql won't start from init.d/mysql but will from mysqld_safe within the MySQL Database forums, part of the Database Forums category; mysql Ver 14.12 Distrib 5.0.21, for pc-linux-gnu (i686) using readline 5.0 on CentOS 4....


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-29-2006
dterrors@hotmail.com
 
Posts: n/a
Default Mysql won't start from init.d/mysql but will from mysqld_safe


mysql Ver 14.12 Distrib 5.0.21, for pc-linux-gnu (i686) using readline
5.0
on CentOS 4.3

Mysql will run fine if I use mysqld_safe. But it won't run at boot
even though I have:

mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off

And I checked the /etc/init.d/mysql script and it's the same one as the
mysql.server script that came with the install. (I installed from
RPM's).

If I try to run it from command line I get:

#/etc/init.d/mysql start
Starting MySQLCouldn't find MySQL manager or server [FAILED]

I also tried /usr/sbin/setenforce 0 but it didn't help.

Reply With Quote
  #2 (permalink)  
Old 10-30-2006
Daz
 
Posts: n/a
Default Re: Mysql won't start from init.d/mysql but will from mysqld_safe


dterrors@hotmail.com wrote:
> mysql Ver 14.12 Distrib 5.0.21, for pc-linux-gnu (i686) using readline
> 5.0
> on CentOS 4.3
>
> Mysql will run fine if I use mysqld_safe. But it won't run at boot
> even though I have:
>
> mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off
>
> And I checked the /etc/init.d/mysql script and it's the same one as the
> mysql.server script that came with the install. (I installed from
> RPM's).
>
> If I try to run it from command line I get:
>
> #/etc/init.d/mysql start
> Starting MySQLCouldn't find MySQL manager or server [FAILED]
>
> I also tried /usr/sbin/setenforce 0 but it didn't help.


It sounds like you might have missed something on your install. Perhaps
a configuration option or something like that. It's also possible that
your installation is corrupt. Did you recieve any errors during the
installation?

It might also be worth looking into using a package manager for the
installation such as up2date or yum. This url might be useful for you
if you choose to take this path. http://centos.karan.org/

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0