[Phpmyadmin-devel] question (problems logging into phpMyAdmin)

Michal Čihař michal at cihar.com
Sun Feb 7 10:01:25 CET 2010


Hi

please users mailing list or help forum for such generic questions,
this mailing list is intended for developers discussions.

Dne Sat, 6 Feb 2010 23:50:14 -0600
Paul Westmoreland <paulwestmoreland1 at gmail.com> napsal(a):

> I have successfully installed phpMyAdmin on my server (linux, has all the
> requisite stuff needed to run everything) but i get this error:
> 
> #1045 - Access denied for user 'root'@'localhost' (using password: YES)
> 
> (also this one: Cannot load mcrypt extension. Please check your PHP
> configuration.)

You need to add mcrypt extension to PHP configuration, dynamic loading
is usually disabled in PHP.

> i tried the documented suggestion:
> 
> $cfg['Servers'][$i]['user']          = 'root';
> 
> $cfg['Servers'][$i]['password']      = 'cbb74bc'; // use here your password
> $cfg['Servers'][$i]['auth_type']     = 'config'
> 
> by putting in my own password with root as the login and got same error.
> also tried $cfg['Servers'][$i]['nopassword'] and generating a script using
> phpMyAdmin/setup/ which also didn't allow login.

Fist consider rather using cookie authentication which provides better
security.

Besides that, are you sure you are entering correct password?
phpMyAdmin does nothing more than connecting to the MySQL server and
passing login information to it.

> i created a "config" folder under phpMyAdmin and dropped the config.inc.php
> into that, and also dropped it into /setup/frames/ with the various attempts
> and that didn't work either

Please read documentation how to use setup script.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100207/687774b3/attachment.sig>


More information about the Developers mailing list