phpmyadmin point to wrong mysql socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux