#1045 Cannot log in to the MySQL server

Discussion in 'PHP' started by neeshu, Jun 20, 2016.

  1. #1
    Hi,
    I am getting error
    [IMG]http://autogl.com/phpmyadmin/themes/dot.gif[/IMG] #1045 Cannot log in to the MySQL server
    Code (markup):
    while logging into phpmyadmin I tried restarting the server but it failed to stop.
    The websites are running fine.
    The config.inc.php was missing in my phpmyadmin folder so I recreated it.
     
    neeshu, Jun 20, 2016 IP
  2. heat23

    heat23 Member

    Messages:
    18
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    40
    #2
    Is MySQL running?
    Is phpmyadmin installed on the same server as MySQL?
    In the config.inc.php, for the mysql server hostname do you have 'localhost' or '127.0.0.1' set?
    Did you try logging into phpMyAdmin using 'root' credentials?
     
    heat23, Jul 1, 2016 IP