Change default username and/or password of phpMyAdmin in xampp


If you want to change  default username and/or password of your xampp for any reason like my one(Using different mySql already installed in my machine ).  You simply do the following.

1. Open phpMyAdmin’s config file. In my case I’am using xampp-1.7.4 the config file named config.inc.php in ../xampp/phpMyAdmin/.

2. Check if $cfg[‘Servers’][$i][‘auth_type’] = ‘config’ if it’s not ‘config’ but ‘cookie’ or ‘http’  then you need to create a new MySQL user account before you change those(username and password) values.

3. Now change the value of $cfg[‘Servers’][$i][‘user’]  and $cfg[‘Servers’][$i][‘password’].

Good luck with that.

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 )

Google+ photo

You are commenting using your Google+ 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