Anonymous - 2012-11-30

I am having problems with webmin administering mySQL.

I have a number of virtual servers all running CentOS 5.8 (some 64bit).  All up to date with patches.

I log in as root and type “yum install mysql” and it installs mysql-5.0.95-1.el5_7.1.i386. But Webmin does not find it and start it in most cases. There is not file /etc/rc.d/init.d/mysqld

I do have 2 servers that do find mysql, but these are not servers I need or want mysql on. I have copied the file /etc/rc.d/init.d/mysqld from them to the ones that do not work and I get

chown: `mysql:mysql': invalid user
Initializing MySQL database:  /etc/rc.d/init.d/functions: line 500: /usr/bin/mysql_install_db: No such file or directory

chown: `mysql:mysql': invalid user

How can I get webmin to find mysql and run it?