Wednesday 13 November 2013

LAMP PHPMYADMIN WITHOUT PASSWORD

vi /etc/phpmyadmin/config.inc.php
uncomment below line

// $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

save the file and restart the mysql server

service mysql restart

go to phpmyadmin users tab and remove the password for root user

logout and login again it will allow you root login without password

3 comments: