Home > php and mysql > phpMyAdmin login prompt

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.

  1. Find the privileges link on the home page of your localhost phpmyadmin.
  2. Change the password for the root user by changing the privileges of the root user.
  3. Now find the following file x:\\xampp\phpmyadmin.config.inc.php
  4. In config.inc.php find following variable  $cfg['Servers'][$i]['auth_type'] = ‘config’;
  5. Change the config to cookie.
  6. now find $cfg['blowfish_secret'] = ‘xampp’;
  7. and fill in/ change a blowfish secret what ever you like as the cookie will save by this name.
  8. 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
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.