Error 2002 when installing phpmyadmin

Discussion in 'Programming/Scripts' started by selmore95, Aug 22, 2011.

  1. selmore95

    selmore95 New Member

    Hi,

    I have attempted to install phpmyadmin, however, when I login, I get this error:

    I have installed MySQL from the source RPMs posted on Mysql.com. Here is my config.inc.php incase it is needed:

     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in your logs? What's the output of
    Code:
    netstat -tap
    ?
     
  3. selmore95

    selmore95 New Member

    Here is the output:
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:ssh *:* LISTEN 1548/sshd
    tcp 0 0 localhost:smtp *:* LISTEN 1378/sendmail: acce
    tcp 0 0 *:mysql *:* LISTEN 11943/mysqld
    tcp 0 0 *:http *:* LISTEN 11501/lighttpd
    tcp 0 52 kansascity.clogg.in:ssh adsl-69-219-239-93.ds:56083 ESTABLISHED 1475/sshd: root@pts
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Looks ok. Can you log in with the username and password on the shell that you use for phpMyAdmin?

    Code:
    mysql -u [I]username[/I] -p
     

Share This Page