I just installed CentOS 3.5. Included in the install was mysql. When trying to start it using: service mysqld start. The system responds with mysqld not recpognized as a service. When trying to use /usr/bin/mysql I receive this error: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). A search of the system does not reveal mysql.sock. Anyone have any ideas? Thanks for any assistance. Ed
Look in /etc/init.d and see if mysqld exists. If it does, try to start it with /etc/init.d/mysqld start Until mysqld is started, mysql will not be able to talk to it. Chris>>>edward.morrison at gmail.com 09/04/05 5:02 pm >>>I just installed CentOS 3.5. Included in the install was mysql. When trying to start it using: service mysqld start. The system responds with mysqld not recpognized as a service. When trying to use /usr/bin/mysql I receive this error: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). A search of the system does not reveal mysql.sock. Anyone have any ideas? Thanks for any assistance. Ed CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050904/d5d55db4/attachment-0001.html>
chris hammond wrote:> Look in /etc/init.d and see if mysqld exists. If it does, try to > start it with > /etc/init.d/mysqld start > > Until mysqld is started, mysql will not be able to talk to it. >Hi Chris, Thanks for your help. Apparently mysqld does not exist on the system. Not sure why this is. Has anyone else run into this issue? [root at helpdesk sbin]# locate mysqld /usr/share/doc/mysql-3.23.58/mysqld_error.txt /usr/share/man/man1/mysqld.1.gz /usr/share/man/man1/mysqld_multi.1.gz /usr/share/man/man1/mysqldump.1.gz /usr/share/man/man1/safe_mysqld.1.gz /usr/bin/mysqld_multi /usr/bin/mysqldumpslow /usr/bin/mysqldump /usr/include/mysql/mysqld_error.h [root at helpdesk sbin]# /usr/bin/mysqld_multi Couldn't find the mysqld binary! Tried: /usr/libexec/mysqld Couldn't find the mysqladmin binary! Tried: /usr/bin/mysqladmin Error with an option, see mysqld_multi --help for more info! Thanks, Ed
You need to install mysql-server. Sounds like mysql is installed which is the client but not the server. Chris>>>edward.morrison at gmail.com 09/04/05 5:18 pm >>>chris hammond wrote:>Look in /etc/init.d and see if mysqld exists. If it does, try to >start it with >/etc/init.d/mysqld start > >Until mysqld is started, mysql will not be able to talk to it. >Hi Chris, Thanks for your help. Apparently mysqld does not exist on the system. Not sure why this is. Has anyone else run into this issue? [root at helpdesk sbin]# locate mysqld /usr/share/doc/mysql-3.23.58/mysqld_error.txt /usr/share/man/man1/mysqld.1.gz /usr/share/man/man1/mysqld_multi.1.gz /usr/share/man/man1/mysqldump.1.gz /usr/share/man/man1/safe_mysqld.1.gz /usr/bin/mysqld_multi /usr/bin/mysqldumpslow /usr/bin/mysqldump /usr/include/mysql/mysqld_error.h [root at helpdesk sbin]# /usr/bin/mysqld_multi Couldn't find the mysqld binary! Tried: /usr/libexec/mysqld Couldn't find the mysqladmin binary! Tried: /usr/bin/mysqladmin Error with an option, see mysqld_multi --help for more info! Thanks, Ed CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050904/c48c2c81/attachment-0001.html>
chris hammond wrote:> You need to install mysql-server. Sounds like mysql is installed > which is the client but not the server. >Well, now that I'm totally embarressed I would like to crawl back under the rock I just came out from under. Could I be more newbie in my ignorance...... Thank you all for your help. Ed