Ahmad Mahfouz

Random notes

phpMyAdmin no password dev env

if you setup your development environment with no mysql root password

after you setup phpmyadmin package it will land you with this error

Login without a password is forbidden by configuration (see AllowNoPassword)

to fix this error  vi  /etc/phpmyadmin/config.inc.php

find line : 96 ”    /* $cfg[‘Servers’][$i][‘AllowNoPassword’] = TRUE;”

remove the comment /*

$cfg[‘Servers’][$i][‘AllowNoPassword’] = TRUE;

now you will be able to login without password

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.