Menu

#4333 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.

1.660
closed-fixed
nobody
None
5
2013-12-16
2013-12-14
Jaysin
No

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!

Discussion

  • Jamie Cameron

    Jamie Cameron - 2013-12-14

    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.

     
  • Jaysin

    Jaysin - 2013-12-14

    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
  • Jamie Cameron

    Jamie Cameron - 2013-12-14
    • Group: 0.82 --> 1.660
     
  • Jamie Cameron

    Jamie Cameron - 2013-12-14

    Ok .. but did you install MySQL from the package provided by CentOS, or from source?

     
  • Jaysin

    Jaysin - 2013-12-15

    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

    • addons: centos.mirror.netriplex.com
    • base: mirror.raystedman.net
    • epel: fedora-epel.mirror.lstn.net
    • extras: bay.uchicago.edu
    • rpmforge: mirror.team-cymru.org
    • update: centos.unmeteredvps.net
      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
  • Jamie Cameron

    Jamie Cameron - 2013-12-15

    What if you run :

    yum whatprovides /usr/libexec/mysqld

     
  • Jaysin

    Jaysin - 2013-12-16

    With the exception of the repo list, i get "No Matches Found".

     
  • Jamie Cameron

    Jamie Cameron - 2013-12-16

    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"

     
  • Jaysin

    Jaysin - 2013-12-16

    Worked! Thank you! You can close this ticket now. I appreciate the help!

     
  • Jamie Cameron

    Jamie Cameron - 2013-12-16
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB