phpmyadmin point to wrong mysql socket
jim martin
postfix168 at yahoo.com
Thu Mar 10 16:55:16 UTC 2005
I have installed myphpadmin and mysql in FC2. But it
seems keep connecting to wrong mysql socket. mysql
socket is located at /tmp/mysql.sock not
/var/lib/mysql/mysql.sock as below
When I go to the http://server/myphpadmin/ I saw
MySQL said:
#2002 - Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2)
I tried to configured the myphpadmin config file
"config.inc.php" socket portion as below and restart
httpd but it still pointing to
'/var/lib/mysql/mysql.sock' Any idea?
$cfg['Servers'][$i]['socket'] =
'/tmp/mysql.sock'; // Path to the socket -
leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; //
How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['socket'] =
'/tmp/mysql.sock';
$cfg['Servers'][$i]['socket'] =
'/tmp/mysql.sock';
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the fedora-list
mailing list