I have recently purchased VPS and I installed LAMP on it. When I access Phpmyadmin through browser it asks login and password. Even if I insert wrong password I can login successfully. I even checked it in another PC with other network, I was allowed to login.
So, how can I make a change in such a way that wrong password and login combination don't allow user to log in.
Note: I have installed fail2ban
and iptables
in the server.
Checked in the phpmyadmin
config file
/etc/panel/configs/phpmyadmin/config.inc.php
but could not find
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
if (!empty($dbname)) { // other configuration options $cfg['Servers'][$i]['AllowNoPassword'] = TRUE; // it should be placed before the following line $i++; }
– George Udosen Feb 12 '17 at 9:50