[CentOS] MySQL installation problem

Thu Nov 5 16:17:51 UTC 2009
Neil Aggarwal <neil at JAMMConsulting.com>

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 at centos.org [mailto:centos-bounces at 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 at 13gems www]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
[root at 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091105/e71cc0e3/attachment-0005.html>