MySQL Forums
Forum List  »  Install & Repo

Re: phpmyadmin + access denied for user 'root'@'localhost' (using password: NO)
Posted by: salma lalji
Date: October 17, 2007 01:56PM

it seems like your mysql root doesnt have a password the error
phpmyadmin + access denied for user 'root'@'localhost' (using password: NO)
where it says password: NO
try login without a password.

else add a password for root and do the following in phpmyadmin conf.inc.php file

$cfg['PmaAbsoluteUri'] = 'www.yourdomain.com/phpmyadmin/';
note that the phpmyadmin directory is inside the www.yourdomain.com root dir
so path is /var/www/html/phpmyadmin

$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.