Skip navigation links

MySQL Forums :: Install & Repo :: phpmyadmin + access denied for user 'root'@'localhost' (using password: NO)


Advanced Search

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


Subject Written By Posted
phpmyadmin + access denied for user 'root'@'localhost' (using password: NO) raman kumar 10/05/2007 04:28AM
Re: phpmyadmin + access denied for user 'root'@'localhost' (using password: NO) wade xing 10/05/2007 08:03PM
Re: phpmyadmin + access denied for user 'root'@'localhost' (using password: NO) raman kumar 10/08/2007 02:56AM
Re: phpmyadmin + access denied for user 'root'@'localhost' (using password: NO) raman kumar 10/11/2007 07:00AM
Re: phpmyadmin + access denied for user 'root'@'localhost' (using password: NO) salma lalji 10/17/2007 01:56PM
Re: phpmyadmin + access denied for user 'root'@'localhost' (using password: NO) Thomas Lopes 02/15/2009 10:24AM


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.