Jump to content


Photo

PHPMyAdmin Login Error


  • Please log in to reply
2 replies to this topic

#1 jetpacmidge

jetpacmidge
  • Members
  • Pip
  • Newbie
  • 6 posts
  • LocationHampshire

Posted 29 August 2006 - 05:01 PM

Hi,

I am using Apache Web Server v 1.3, PHP v 5.1.3 and MYSQL 5.0.21 and have installed PHPMyAdmin v 2.8.1. on Windows XP.

When logging into PHPMyAdmin I get the following Error msg :-

Error
MySQL said: 

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

Copy of config.inc.php script ...

<?php
$cfg['PmaAbsoluteUri'] = 'http://127.0.0.1/phpMyAdmin/';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['password'] = 'gemini'; 
?>

If I include or exclude the user and password in the script I still get the same error msg. I know that the passwords are correct as I can access mysql using root and its password.

Thanks.
  ;D



#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 29 August 2006 - 05:50 PM

Well, you're not providing a password.. .thought I'm not familiar with this wrapper.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#3 Corona4456

Corona4456
  • Members
  • PipPipPip
  • Advanced Member
  • 244 posts
  • LocationEl Paso, TX

Posted 29 August 2006 - 09:48 PM

I know that the passwords are correct as I can access mysql using root and its password.


How do you try to access mysql? Through the command line?

Try inputting no password when logging in.
What is the CoronaMatrix?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users