My mysql password = '' i try to login to PhpMyAdmin (on Ubuntu 10.04 lamp) and get error: Login without a password is forbidden by configuration (see AllowNoPassword) What should i do for enter to phpMyAdmin without set password? Thanks
|
You can turn on the option AllowNoPassword on file /etc/phpmyadmin/config.inc.php. Edit the file config.inc.php, search and uncomment this line: // $cfg['Servers'][$i]['AllowNoPassword'] = TRUE; Then you can access PhpMyAdmin without password. |
|||||||||
|
|
use Sudo to access the following file that mention above (etc/phpmyadmin/config.inc.php.) and also stop apcaha before editing this file with this
else it will wont allow you to update it. Command for stopping apcahe
hope it will help it works for me |
|||
|
|
|
Here is what I have noticed from attempting to solve this problem. what I went through:
Then I wanted to run apache with a different user than www-data so I
I restart apache2 and when I try to login to phpmyadmin without password it does not let me event though, as I previously mentioned, I set $cfg['Servers'][$i]['AllowNoPassword'] = TRUE. To resolve it
If you run apache with a different other than www-data (i.e you own) and your config.inc.php and config-db.php are owned by www-data, then phpmyadmin will not |
|||
|
|