PhpMyAdmin error.

Discussion in 'Databases' started by Emn1ty, Dec 28, 2011.

  1. I've followed the instructions explained out here but I'm unable to log in. Despite using the password and login given to me in my CP it keeps giving me:

    [#2002 Cannot log in to the MySQL server]

    Any info on why this may be the case?
     
    Last edited by a moderator: Oct 14, 2015
  2. There are any number of issues in config.inc.php that could be stopping you. Most of them are covered in that thread though...
     
  3. Here is my config file
     
    Last edited by a moderator: Oct 14, 2015
  4. Start with this:
    $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
    You have nothing in the blowfish_secret value, but you are using cookie auth:
    $cfg['Servers'][$i]['auth_type'] = 'cookie';
    Enter a value here:
    $cfg['blowfish_secret'] = '';
    It can be anything.
     
  5. I just tried that and still got the same error. Is there a specific kind of value it requires or literally anything works?
     
  6. Anything should work as that value. The only thing you should have to change in that config is the blowfish secret and $cfg['Servers'][$i]['host']...
     
  7. Sorry

    I just copied and pasted everything from this article (config.inc.php) in the config/ folder. Made all changes you specified and still having this #2002 cannot connect to MySql server =)) help me guys!
     
  8. heloooo

    anyone? Please help me set the phpMyAdmin!
     
  9. I solved my problem just by installing another version of phpMyAdmin (the older one) and it worked. Thank you for nothin guys.
     

Share This Page