15 steps to setup root password in wamp
In this guide for WAMP, we will show you how to install and setup password for WAMPSERVER. There are too many ways to setup password, but here we only show the easiest but security way for WAMP
Note: Before attempting any change, even the first time password setup, you should perform a full backup; check the Setup Backup guide for WAMP on this website. This guide is used WampServer 2F on Windows 7, so check on the altenate screenshot image if using other version.
In phpMyAdmin windows, if this is the first time password setup, you will see the warning that MySQL has default user “root” with no password, and that’s what we try to correct here by left clicking on Privileges tab or link (wamp2f2.jpg or wamp2c2.jpg)
Note: If you have more than one user “root”, do not panic, and keep follow this guide and you will eventually see the section to setup password for other user “root”
Note: If you have different phpMyAdmin version, select your correct version
If using older phpMyAdmin version, the file config.inc.php greets you with the warning message “Do not edit…” 😦 (wamp2f7.jpg or wamp2c7.jpg). It only warns people don’t know what to do, but you follows this guide and have nothing to worry about
$cfg[‘blowfish_secret’] = ”;
$cfg[‘Servers’][$i][‘auth_type’] = ‘config’; // Authentication method (config, http or cookie based)?
Option: If you don’t use phpMyAdmin so often, you should perform this extra step which has a benefit to open config.inc.php to retrieve forgotten password; otherwise, skip this step for more security, especially if your computer has more than one user
$cfg[‘Servers’][$i][‘password’] = ”; // MySQL password (only needed
After wamp restart, left click on wamp tray icon to access Main Menu and select phpMyAdmin to pop up the Login page for phpMyAdmin, which you can login with user “root” and the password you just setup in step 4(wamp2f14.jpg or wamp2c14.jpg)
After login, you might see warning message “Cannot load mcrypt extension…” (wamp2f15.jpg or wamp2c15.jpg); then, left click on wamp tray icon and select PHP, then PHP Extensions, then scroll down to click on php_mcrypt (wamp2f16.jpg or wamp2c16.jpg).
Note: If you have more than one user “root”, repeat step 1 to step 5 to set password for each and all other user “root”
Congratulation!!! You just finish setup password for Wamp 😉