----- Original Message ----- From: "William Warren" hescominsoon@emmanuelcomputerconsulting.com To: "CentOS mailing list" centos@centos.org Sent: Sunday, October 19, 2008 4:02 PM Subject: Re: [CentOS] cannot start Mysql
what errors ar you getting? Have you checked the logs?
Obantec Support wrote:
Hi New to CentOS 5.2 today. I cannot get MySQL 5.0.45 (default install) to start. X Fedora user.
Mark _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi
i tried /etc/init.d/rc.d/mysqld start mysqld does not exist on the server.
no /var/lib/mysql/mysql.sock no /var/run/mysqld/mysqld.pid no /var/log/mysqld.log
this is a clean install from CentOS DVD iso.
i tried the mysqld script from my FC3 install and got the following
/etc/rc.d/init.d/mysqld: line 11: : command not found /etc/rc.d/init.d/mysqld: line 14: : command not found /etc/rc.d/init.d/mysqld: line 17: : command not found /etc/rc.d/init.d/mysqld: line 20: : command not found /etc/rc.d/init.d/mysqld: line 22: : command not found /etc/rc.d/init.d/mysqld: line 63: : command not found /etc/rc.d/init.d/mysqld: line 82: : command not found /etc/rc.d/init.d/mysqld: line 86: : command not found chown: `mysql:mysql': invalid user Initializing MySQL database: /etc/rc.d/init.d/functions: line 498: /usr/bin/mysql_install_db: No such file or directory [FAILED] chown: `mysql:mysql': invalid user /etc/rc.d/init.d/mysqld: line 108: : command not found
I get the feeling i need use yum to get some more mysql packages. big clue is previously user:group mysql:mysql are set-up by an rpm.
rpm -qa | grep mysql mysql-5.0.45-7.el5 is installed
the DVD has devel and server rpm's which i think as a minimum need to be installed.
Mark