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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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/ |