JLBN – Setup Password Protection on 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.
Note: Even this guide is used for Wampserver, you can apply this method on other wamp package such as Xampp, EasyPHP, so on. Just make sure to select correct file(s) in proper location(s) 😉
wow, no idea how i missed that. All i saw was the link for suggestions! thanks BN
@ J
In the end of page, always has the link line “When you ready, click here to go to the next page” and on the last step, step15, of the last page, there is a note for setup password for wamp 2b and 2c 😉
@ Borge
Left click for Main Menu, right click for Secondary Menu, and double click for Credit
Setup Skype to use different port so you can use both Skype and wamp.
Setup skype using different port as follows File -> Options -> Connection -> Uncheck “Use port 80 as an alternative for…”
Hi, I don’t deny that I’m dense, but was following your guide to setup password and saw no link to the 2nd/3rd page? Where wamp 2 b/c was to be explained? I found the other pages by typing in 2 and 3 at end of the URL. I need to change my root pw in multiple places so was looking for “the end of the guide” as you specified. Is there a button or link to the diff. pages of the password tutorial that I’m missing? tks
Search and remove/rename any my.ini file outside wamp folder, then follow this guide to setup password:
http://guides.jlbn.net/setpw/setpw1.html
I just installed WAMP 2.0 and I get the “#1045 – Access denied for user ‘root’@’localhost’ (using password: NO)” problem when trying to start phpMyAdmin.
I have the following in my config.inc.php file:
$cfg[‘Servers’][$i][‘host’] = ‘localhost’;
$cfg[‘Servers’][$i][‘auth_type’] = ‘config’;
$cfg[‘Servers’][$i][‘user’] = ‘root’;
$cfg[‘Servers’][$i][‘password’] = ”;
I get this just after a plain installation. Is there anything I should install to my system before WAMP? Or modify anything before trying to access mysql?
Please advice.
Setting a password, step 15.
The last step on the guide “Setting password” is incorrect. When I click the php_mcript it gives the error when going to phpmyadmin:
Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: Size of key is too large for this algorithm in D:\wamp\apps\phpmyadmin2.11.6\libraries\mcrypt.lib.php on line 85
Catchable fatal error: mcrypt_decrypt() [function.mcrypt-decrypt]: Mcrypt initialisation failed in D:\wamp\apps\phpmyadmin2.11.6\libraries\mcrypt.lib.php on line 85
If you follow my instruction guide to setup password, hard code password in config.inc.php is not recommended 🙁
Hey dude it’s easy to create a password if ya are facing problem in loging in phpmyadmin. that ya’ve added a password but saying password no error
go n open config.inc.php and find this
$cfg[‘Servers’][$i][‘password’] = ”;
and put the same password that you put in Prvillege in php my admin.
Hi rani,
Which installation steps did you follow? If password setup, make sure to follow the instructions and the screen shots from step 6 to step 13 precisely
hi everyone, i followed the installation steps but at the end i got the following error.
Invalid authentication method set in configuration: cookies.??? can anyone help me.i dont know where i dd sthg wrong
I changed password for user “root” and thats ok. I had three user “root”. Byt now I olso have three user called “anyone”. Without password. The first user “anyone” has host “%” and “–” in the password. The second “anyone” has “localhost” as host and “No” in the field for password. The third user is “anyone” and the host is “production.mysql.com” and password “No”. Should I changed password for them too?
Your insctructions about changing the root password was a great help
@ Revathi
Did you follow my guide to setup password? If not and you only setup password in the file config.inc.php, you might have the problem to log into phpMyAdmin
@ Hi
The different between a, b, and c are the upgrade of either Apache, MySQL, PHP, or phpMyAdmin. You can check the differences in the change log
Can you explain to me what the differences are in wamp 2.0 a,b,c
I cant get c to work
Thanks
Hi,
I installed WAMp. After setting password in config.inc, its working. Is it trouble after some time????
Nely Soca, config.inc.php is a file which is in folder phpmyadminX.XX.X and use your desire text editor to open it; then, follow the rest of my guide, probably from step 6. If you still have problem, then download ResetMySQL and start over
Hi, I have problems because i have closed password before finished, now i can not go to config.inc.php, i can not open this.
i have error #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
What can i do?
You most likely already setup password in config.inc.php file in folder phpMyAdmin, so you should undo what you did and follows my Setup Password guide from the beginning here:
http://guides.jlbn.net/setpw/setpw1.html
hello there,i was trying to set up wamp,my wamp icon is white so this is good,but ill try to setup password settings now i get this on my screen and i cant get in phpadmin ,can u help me out …Greetz gert jan.
“Fout
MySQL retourneerde:
#1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
thanx.
I still dont have website with me. Thanks for the useful, point by point help regarding error 1045. It was the blowfish secret bit, that had been killing me for hours and now with the help of your guide, I could solve the problem. THanks a lot.