<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=281381716-05112009><FONT size=2
face=Arial>Victor:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=281381716-05112009><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=281381716-05112009><FONT size=2
face=Arial>Try this:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=281381716-05112009><FONT size=2
face=Arial>vi /etc/init.d/mysqld<BR>And set the chkconfig line to:<BR>#
chkconfig: 235 64 36</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=281381716-05112009><FONT size=2
face=Arial>chkconfig --add mysqld<BR>chkconfig --level 235 mysqld
on<BR>/etc/init.d/mysqld start<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=281381716-05112009><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=281381716-05112009><FONT size=2
face=Arial> Neil</DIV></FONT></SPAN>
<DIV> </DIV><!-- Converted from text/plain format --><BR>
<P><FONT size=2>--<BR>Neil Aggarwal, (281)846-8957, <A
href="http://www.jammconsulting.com/">http://www.JAMMConsulting.com</A><BR>CentOS
5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU<BR>1GB
dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime</FONT> </P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> centos-bounces@centos.org
[mailto:centos-bounces@centos.org] <B>On Behalf Of </B>Victor
Subervi<BR><B>Sent:</B> Thursday, November 05, 2009 10:12 AM<BR><B>To:</B>
CentOS mailing list<BR><B>Subject:</B> [CentOS] MySQL installation
problem<BR></FONT><BR></DIV>
<DIV></DIV>Hi;<BR>It's been a while since I controlled my own server and I'm
rusty. Trying to install mysql<BR>yum install mysql<BR>All looks well. Here's
what happens:<BR><BR>[root@13gems www]# mysql<BR>ERROR 2002 (HY000): Can't
connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
(2)<BR>[root@13gems www]# mysql -u root -p<BR>Enter password:<BR>ERROR 2002
(HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)<BR><BR>There's no mysqld in the ps wax. Please
advise.<BR>beno<BR></BLOCKQUOTE></BODY></HTML>