#1045 - Access denied for user 'root'@'localhost' (using password: YES)
Posted by: northnet (---.royalschool.ncn.net)
Date: August 13, 2012 08:37AM

I was trying to lockdown my system running WAMP. I had everything working fine, but I can't get into myphpadmin3.4.5. I was wondering if I could switch the config.inc.php file for a default file? I was playing in this file before the error occured. I tried to change the password back to blank but with no luck. Error is

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

Options: ReplyQuote
Re: #1045 - Access denied for user 'root'@'localhost' (using password: YES)
Posted by: RiggsFolly (---.as13285.net)
Date: August 13, 2012 01:55PM

Have a look at this is may help you understand what you are doing:

[forum.wampserver.com]




If you have messed up your config.inc.php here is a copy of it in its original state.

<?php

/* Servers configuration */
$i = 0;

/* Server: localhost [1] */
$i++;

$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;


$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';


/* rajk - for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';


?>

Options: ReplyQuote


Sorry, only registered users may post in this forum.