Thursday, January 8, 2015

How to login without password in phpMyAdmin

How to login without password in phpMyAdmin 



paswordless root login for MySQL. phpMyAdmin however is by default set to not allow that.

If disabled, you'll get the following error when trying to log in without entering the password;


location



/etc/phpmyadmin/config.inc.php


 To enable the option, uncomment or add the following line;
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

there is two times this line  remove comment 
 

The line above need to be added twice; once within within the
if (!empty($dbname)) 
{ statement, and another one outside of it
 (probably towards the end of the configuration file). 

3 comments:

  1. My friend Suggest me this blog and I can say this is the best blog to get the basic knowledge.Thank you so much for this Selenium Training in Chennai

    ReplyDelete
  2. I appreciate your efforts and i always like to learn more and more ... thanks a lot for nice efforts
    Arab Fire Safety & Security Academy
    afssac

    ReplyDelete
  3. as many as i visit this blog i can find some fantastic information . Thanks for sharing knowledge . best wishes to be guided
    free ads
    advertise for free

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...