Re: phpmyadmin point to wrong mysql socket

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

 



Am Do, den 10.03.2005 schrieb jim martin um 17:55:

> 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

/tmp/mysql.sock is not the default - why did you change that?

> 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';       //

You say connect type "tcp" there, not "socket".

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp 
Serendipity 18:07:29 up 22:19, 16 users, 0.03, 0.14, 0.20 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux