phpMyAdmin login prompt
Asalam-o-alikum
It is obvious when ever we install xampp or wamp they just install mysql as a config authentication. Which is somehow a security threat while your server is exposed to internet.
To override these settings of phpmyadmin in xampp follow these steps.
- Find the privileges link on the home page of your localhost phpmyadmin.
- Change the password for the root user by changing the privileges of the root user.
- Now find the following file x:\\xampp\phpmyadmin.config.inc.php
- In config.inc.php find following variable $cfg['Servers'][$i]['auth_type'] = ‘config’;
- Change the config to cookie.
- now find $cfg['blowfish_secret'] = ‘xampp’;
- and fill in/ change a blowfish secret what ever you like as the cookie will save by this name.
- don’t forget to clear the user name and password variable in config.ini.php
$cfg['Servers'][$i]['user'] = ”;
$cfg['Servers'][$i]['password'] = ”;
This is it now just login to xampp it will prompt you to enter password.
Advertisement
Categories: php and mysql
authentication, mysql, phpmyadmin, privileges