Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

Problem after installing phpmyadmin in ubuntu 12.04

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

  1. 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?


    (Log in to hide this advertisement)

     
  2. ryanvade

    ryanvade Guest

    how is the mySQL server setup? Is there a database user? Is the MySQL service running?
     
  3. 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. The problem has been solved after re-installing phpmyadmin and set the user as root. :)
     
    1 person likes this.

Share This Page