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) ๐
Thanks! This worked great!
Thanks so much, finally making some sense out of all this. Appreciate it so mcuh.
Why not in the install program let the users choose a password for the Apache and MySQL root (as an example)? So the program can correctly set the password for both programs and *.ini files and phpMyAdmin. Also, please, don’t forget to use the *_crypt(“password_here”) in the MySQL. Maybe it can be put in the next release, if you guys need help on this I can make the script for that. Just leave a message here.
Dr. R, that’s the great idea; however, all the versions will be changed from time to time and for different versions, the password encryption might not be the same
Anyway, if interested, you can post your script for password here, and much nicer if it works for both *nix and Windows ๐ since we see a lot of people has problem to use md5 encryption on Windows in general, and in wamp particularly ๐
Great instructions! One suggestion:
You should add to step 4 or 5 something like “Write this password down as it will be needed in Step 14” or whatever step is is. Since we enter 2 passwords (blowfish being the other) it will keep folks from having to scroll back to that step to see what it was.
Zeek, thanks for your very nice comment; however, it’s not recommended to hard code password in phpmyadmin config file and that’s why we didn’t have that reminder ๐
What a wonderful clear precise step by step visual outline! Kudos to you for having the necessary human kindness and goodness to share your knowledge with the rest of the world.
-Disregard my previous post-
I just cleared the IE cache and restarted again. Everything looks as it should. Just FYI for anyone else using Windows Internet Explorer 7, you can clear the cache by clicking on ‘Tools’ then ‘Internet Options’. Under the ‘General’ tab select ‘Delete…’ in the ‘Browsing history’ section. From there, I clicked on ‘Delete all…’ and checked the check box then clicked on ‘Yes’.
This will also remove any automatic logons you may have (gmail, bank accounts, etc…).
*If the File menu is not visible on your IE7, press the ‘Alt’ button to bring it up.
Thanks again for the tutorials!
Jason
Hi-
Thanks for the tutorials! They’re a big help. However, I’ve recently downloaded and installed wampserver2.0f and I may be experiencing a small issue. I’ve followed this tutorial up to the point where I enable the php_mcrypt extension to get rid of the error message on the phpMyAdmin login page. I’m not sure if this is working correctly for me. If I open a new IE browser (after clearing IE cache and restarting computer), the warning message is present. But when I login as ‘root’ then logoff and return to the login page, the message is gone. So, I’m not sure if it’s working correctly or not. Any ideas? Thanks
Very nice my friend.
My dream is to someday be as efficient as you.
Knowledge is power
@ mumf
Thanks for your comment and actually it’s not that difficult as you thought since our sites differ from others in which they try to educate visitors with a lot of contents which are good if visitors would get them all but might get confused which certain points they would take to apply to their particular issue/task, our sites only provide steps to accomplish a certain task, so just pay close attention to each step and when you figure out what one step does, it’s much easier to figure out the rest ๐
Awesome nice guide!! Thanks A Ton!!!
I just wanted to thank you guys for the great wamp password manual. It was very clear and concise, and was gladly appreciated.
thanks, good job.
Hi,
BN,Thank you for the speedy response,but is it possible to get in touch with me?
Thanks.
mixy, if you’re not comfortable to post here, send us an email through our Contact page ๐
When i clicked on phpmyadmin, it says access denied,What do i do to fix this problem,pls pls a speedy reply will be appreciated.
I am using the wamp2.2.8 on xp pro.
Thanks.
mixy, if you used to have wamp package before, either wampserver or any other wamp package, uninstall wamp, remove wamp folder, search and delete any my.ini file, run regedit to search and delete wampapache, wampmysql and any other wamp relations, restart computer, then reinstall wamp; better download another wamp installer here
http://downloads.jlbn.net/
If just upgraded wamp, follow this guide to setup password again
http://blog.jlbn.net/?p=17
Many thanks for the guide. Clear and concise. (Well except for the adds that is) ๐
Already updated w/ Wamp 2f on Windows 7 ๐
This guide is out of date as of 01/19/09.
Hi ‘
your password guides does not allow for
phpmyadmin 3.1.1
i cannot find the config.inc.php file
any suggestions
This is an up grade to 2.0f
Thanks friend. Good work. Much appreciated. I easily changed my password. Working with WAMP is easy on the one hand but frustrating on the other. Your guidance has gone a long way today in keeping me on track. I look forward to reading more. Thanks again!
@ cosmo
โblowfish-secretโ is your own desire secret code so just create any combination of letter, number and/or symbol that you like to put in there
@ Robert
if password is hard coded, get it from your php script; if not hard coded, use phpmyadmin to get it from mysql db; if encrypted, you have no choice but replace it w/ another encrypted one; however, first thing first, do you actually have user and password? If not, follow our guide to create one
http://guides.jlbn.net/setdb/setdb1.html
@ Ajay
we’re using .net 2.0 when wrote that guide but now have no problem to use it w/ 3.5, so the best way is to download and install 2.0 and compare those 2 to find out where your problem is
http://downloads.jlbn.net/
what the “blowfish-secret” code for ?