Hello all, I hope you can help me with a problem I have been trying to figure out for 
the past week.

I bought Red Hat 7 and am trying to get Apache/PHP/MySQL working correctly.  Using the 
Red Hat install program, I installed all the RPMs including the php, mod_php, apache, 
mysql, mysql-php, mysql-server, etc.  I know Apache works and so does PHP, when its 
not trying to access MySQL.  However, when I try to upload phpMyAdmin to the webserver 
and then access it, I get the following error:

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (111) in lib.inc.php on line 255
Error 
MySQL said: 
Back 

That's the entire page that shows up at http://myipaddress/phpMyAdmin/

What is going on?  What does that mean?  When I am at the console of the Red Hat 
machine, and I type: mysql start    I get the same error: Can't connect to loacl MySQL 
server through socket 'var/lib/mysql/mysql.sock' (111).  When I go to the 
/var/lib/mysql directory, there is nothing listed in a 'ls' command.

Thanks for any help.  As you can guess, I am rather new the Linux as a server 
operating system.  

Ryan Shrout
Athlonmb.com
Production Manager
http://www.athlonmb.com/
[EMAIL PROTECTED]



Reply via email to