Victor:
Try this: vi /etc/init.d/mysqld And set the chkconfig line to: # chkconfig: 235 64 36
chkconfig --add mysqld chkconfig --level 235 mysqld on /etc/init.d/mysqld start
Neil
-- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com http://www.jammconsulting.com/ CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
_____
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Victor Subervi Sent: Thursday, November 05, 2009 10:12 AM To: CentOS mailing list Subject: [CentOS] MySQL installation problem
Hi; It's been a while since I controlled my own server and I'm rusty. Trying to install mysql yum install mysql All looks well. Here's what happens:
[root@13gems www]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@13gems www]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
There's no mysqld in the ps wax. Please advise. beno