Problem after installing phpmyadmin in ubuntu 12.04

Discussion in 'Database' started by Saptarshi Nag, Jun 11, 2014.

  1. Saptarshi Nag

    Saptarshi Nag Member

    Messages:
    34
    Likes Received:
    21
    Trophy Points:
    8
    I have installed phpmyadmin from the following process

    Code:
    sudo apt-get install phpmyadmin
    Then I opened it through http://localhost/phpmyadmin/. But after giving username and password then pressing the 'Log In' button the following errors are occurring


    Code:
    #1045 Cannot log in to the MySQL server
    Connection for controluser as defined in your configuration failed
    What shall I do?
  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,161
    Likes Received:
    392
    Trophy Points:
    83
    how is the mySQL server setup? Is there a database user? Is the MySQL service running?
  3. Saptarshi Nag

    Saptarshi Nag Member

    Messages:
    34
    Likes Received:
    21
    Trophy Points:
    8
    I have installed it through tasksel and the setup is as following.
    Active Persistent Links0
    Active Links0
    Client API version5.5.35
    MYSQL_MODULE_TYPEexternal
    MYSQL_SOCKET/var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE-I/usr/include/mysql
    MYSQL_LIBS-L/usr/lib/i386-linux-gnu -lmysqlclient_r

    And my Mysql user isn't root,it's me actually. :p
    What do you want to know?
  4. dangtinorg

    dangtinorg New Member

    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    i think your database MySQL have a problem.
  5. Saptarshi Nag

    Saptarshi Nag Member

    Messages:
    34
    Likes Received:
    21
    Trophy Points:
    8
    The problem has been solved after re-installing phpmyadmin and set the user as root. :)
  6. dangtinorg

    dangtinorg New Member

    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    oh, it is a good news. permission problem.

Share This Page