phpMyAdmin error 2002

Alles, was PHP betrifft, kann hier besprochen werden.

phpMyAdmin error 2002

Postby naruponk » 23. December 2009 17:15

Hi,

I'm trying to install phpMyAdmin 2.11
I got an error from phpMyAdmin's login page
#2002# (or the local MySQL server's socket is not correctly configured)

MySql port is default, and strill running .....
what's should be solution ?
naruponk
 
Posts: 1
Joined: 22. December 2009 09:19

Re: phpMyAdmin error 2002

Postby glitzi85 » 28. December 2009 21:42

How did you install phpMyAdmin? Did you create the config.inc.php file? If not, what installation instruction did you use. If you already have this file, open it in your editor and check the value of the variable
Code: Select all
$cfg['Servers'][$i]['connect_type']

it should be "tcp" instead of "socket".

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: phpMyAdmin error 2002

Postby gerdonhanry » 31. March 2010 14:41

when you are getting error 2002 to phpmyadmin, here is solution for this,
First of all Open the terminal, sudo mkdir /var/mysql, sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock, Reload the login page and login. it will be helpful to you.
gerdonhanry
 
Posts: 3
Joined: 31. March 2010 14:19

Re: phpMyAdmin error 2002

Postby moncler » 12. July 2010 09:07

First of all Open the terminal, sudo mkdir /var/mysql, sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock, Reload the login page and login. it will be helpful to you.

I agree with you. very helpful.
moncler
 
Posts: 1
Joined: 12. July 2010 09:04


Return to PHP

Who is online

Users browsing this forum: No registered users and 2 guests