Jump to content

Archived

This topic is now archived and is closed to further replies.

jetpacmidge

PHPMyAdmin Login Error

Recommended Posts

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

Share this post


Link to post
Share on other sites
Well, you're not providing a password.. .thought I'm not familiar with this wrapper.

Share this post


Link to post
Share on other sites
[quote author=jetpacmidge link=topic=106115.msg424121#msg424121 date=1156870907]
I know that the passwords are correct as I can access mysql using root and its password.
[/quote]

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

Try inputting no password when logging in.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.