Re: MySQL installation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Victor Subervi
Sent: Thursday, November 05, 2009 10:12 AM
To: CentOS mailing list
Subject: 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux