2

I would like to logging into phpmyadmin without using password.

However I changed AllowNoPassword to TRUE in /etc/webapps/phpmyadmin/config.inc.php :

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

But, phpmyadmin asks me for password again!

P.S:

MySQL root user has no password.

Hamed Kamrava
  • 6,678
  • 12
  • 35
  • 47

2 Answers2

0

first, stop apache before editing this file with this:

/etc/init.d/apache stop

then, if you are trying to log in as root, you should have the following lines in your config:

$cfg['Servers'][$i]['user'] = 'root';# add this line
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;

finally, start apache again:

/etc/init.d/apache start
Nidal
  • 8,856
  • 11
  • 55
  • 74
0

as suggested at Archlinux BBS: add /etc/webapps to open_basedir in your php.ini

ochitos
  • 101
  • 1