mysql - Changed phpmyadmin password on mac using AMPPs and now Can not login into phpmyadmin -


i've changed password of localhost user of ampps stack , can not log phpmyadmin shows pink message : access denied..., have tried restoring default configuration have same problem.

i've checked config.inc file , it's content :

<?php  /* servers configuration */ $i = 0;  /* server: localhost [1] */ $i++; $cfg['servers'][$i]['verbose'] = ''; $cfg['servers'][$i]['host'] = '127.0.0.1'; $cfg['servers'][$i]['port'] = ''; $cfg['servers'][$i]['socket'] = ''; $cfg['servers'][$i]['connect_type'] = 'tcp'; $cfg['servers'][$i]['extension'] = 'mysqli'; $cfg['servers'][$i]['auth_type'] = 'config'; $cfg['servers'][$i]['user'] = 'root'; $cfg['servers'][$i]['password'] = file_get_contents('/applications/ampps/ampps/data/my.conf'); $cfg['servers'][$i]['hide_db'] = '(information_schema|performance_schema)';  /* end of servers configuration */  $cfg['defaultlang'] = 'en-utf-8'; $cfg['blowfish_secret'] = ''; $cfg['serverdefault'] = 1; $cfg['uploaddir'] = ''; $cfg['savedir'] = '';  ?> 

this my.conf file part related password :

# following options passed mysql clients [client] #password   = your_password port        = 3306 socket      = {$path}/var/mysql.sock 

i have checked mysql.ini file , there 1 field :

# password = (your passwrod) 

i removed # begining of line , saved file , restarted apache , mysql. quited app , reopend problem there , nothing changed.

i've checked codes see if i'm able use codes new password , working problem can not go phpmyadmin anymore.

i had same issue , solution worked me : can reinstall again, or if don't want lose install on drive or disk , copy past configuration files. remember if want change phpmyadmin password go ampps app , it's panel go change mysql password there can change mysql , phpmyadmin password without problem. default password of mysql , phpmyadmin 'mysql'.

hope solve problem.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -