470,848 Members | 1,822 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

Socket connect error with phpMyAdmin

Not sure if this is truly a mySQL issue or a PHP issue, since the problem
started when I reconfigured/made a PHP upgrade:We're using RedHat ES2.1.
With PHP 4.1.3 and phpMyAdmin 2.5.6, it was
working fine.
Then I upgraded to PHP 4.3.4. And I started getting the error:
MySQL said:
#2002 - Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
through phpMyAdmin, and from mySQL at the command line:
#2002 - Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (1)

So I re-make'd PHP changing the ./configure line from what it was
(don't recall) to --with-mysql
Restarted the whole server, and now mySQL works fine from the command
line, but I still get the same error in phpMyAdmin.

I reinstalled it to a different location, and doublechecked
config.inc.php, and all is fine in there.

Any ideas?
Thanks!
Liam
Jul 17 '05 #1
0 1790

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by anuradha.k.r | last post: by
2 posts views Thread by Lindstrom Greg - glinds | last post: by
4 posts views Thread by faktujaa | last post: by
8 posts views Thread by Mark Fink | last post: by
5 posts views Thread by news.telia.net | last post: by
2 posts views Thread by manasap | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.