Hello,
Im using Centos 5 and Webmin 1.660, and when i try to connect to the database, i get the following error :
The MySQL startup script /etc/rc.d/init.d/mysqld was not found on your system. Maybe MySQL is not installed, or your module configuration is incorrect.
Ive tried the touch command found in a previous post but it hasn't worked for me. I've used webmin successfully in the past, but this error escapes me. Help!
Is MySQL actually installed on your system, and if so was it installed from the package provided by CentOS? Because if so, the script /etc/rc.d/init.d/mysqld should exist.
MySql is installed and working. I have a website up and running on the server right now and its using the database successfully. Thank you for the quick reply as well.
As a side note, i didn't realize until now that i posted this under the wrong milestone. If a mod could move it to the 1.660, it would be appreciated.
Last edit: Jaysin 2013-12-14
Ok .. but did you install MySQL from the package provided by CentOS, or from source?
To be honest, i'm not sure. The server came with the LAMP setup. Is there a way i could find out?
Update : when i try to run the script /etc/rc.d/init.d/mysqld as root, it gives me a permission denied error, so the script is there.
Also, not sure if it helps any, but im trying to see how it was installed ...
yum whatprovides '/usr/bin/mysql'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
MySQL51-client-5.1.68-1.cp1136.i386 : MySQL - Client
Repo : installed
Matched from:
Other : Provides-match: /usr/bin/mysql
Last edit: Jaysin 2013-12-15
What if you run :
yum whatprovides /usr/libexec/mysqld
With the exception of the repo list, i get "No Matches Found".
Ok, it looks like you have MySQL installed from a different package than the one supplied by CentOS, which is missing the script usually used to start MySQL.
One work-around may be to just run "chmod +x /etc/rc.d/init.d/mysqld"
Worked! Thank you! You can close this ticket now. I appreciate the help!