If mysql.sock doesn't exist, that is because the server is not running.

I fought the same battle as Mark and ultimately downloaded and installed the RPM for 
3.23.49a from MySQL in place of
the copy that came with RH.  The MySQL RPM installed and came up just like it says in 
the book.  Saves a lot of hair
and dain bramage.

If the server process _is_ running, it may be useful to go through the section on 
binary installation and check those
items to see if your RPM set everything up correctly.  Don't bet on finding anything, 
but it doesn't take long to do
these checks.
http://www.mysql.com/doc/I/n/Installing_binary.html

Regards,
Doug

"Perfection is finally attained not when there is no longer anything to add, but when 
there is no longer anything to
take away." -- Antoine de Saint Exup‚ry

On Sun, 10 Mar 2002 10:11:05 -0500, Intrex wrote:

>What I did was beat my brains out on the same exact problem.  In the end I
>have no clue what I did to get it actually working.  I had re-installed the
>mysql from the .tar.gz, I installed all the RPM's several times. Everytime,
>I fully rebooted the system, and finally I have to run
>safe_mysqld --user=root
>
>I think finaly I ran the tar -zxvf on the mysqlmax.<version>.tar.gz,
>rebooted the system, then re-ran safe_mysqld --user=root.
>
>Mark
>
>----- Original Message -----
>From: "Andy Cheng" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, March 10, 2002 10:01 AM
>Subject: Mysql installation. Help!
>
>
>> Hi all,
>> I got this error message when trying to connect to mysql at the shell
>> command:
>>
>> Error 2002:Can't connect to local MySql server through socket
>> '/var/lib/mysql/mysql.sock
>>
>>
>> There is no mysql.sock in the /var/lib/mysql directory. Did I miss some
>> thing in the mysql installation?  Where could I find the mysql.sock?  I
>> install mysql that came with redhat 7.2. Thank for the help.
>>








---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to