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) 😉

[Read more…]

269 thoughts on “JLBN – Setup Password Protection on WAMP

  • August 25, 2008 at 8:05 am
    Permalink

    wow, no idea how i missed that. All i saw was the link for suggestions! thanks BN

  • August 25, 2008 at 6:42 am
    Permalink

    @ 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…”

  • August 24, 2008 at 11:14 am
    Permalink

    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

  • August 18, 2008 at 8:04 am
    Permalink

    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.

  • June 20, 2008 at 5:04 am
    Permalink

    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

  • May 23, 2008 at 11:17 am
    Permalink

    If you follow my instruction guide to setup password, hard code password in config.inc.php is not recommended 🙁

  • May 23, 2008 at 3:43 am
    Permalink

    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.

  • May 21, 2008 at 5:22 pm
    Permalink

    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

  • May 21, 2008 at 9:33 am
    Permalink

    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

  • May 16, 2008 at 4:22 am
    Permalink

    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?

  • May 10, 2008 at 1:46 am
    Permalink

    Your insctructions about changing the root password was a great help

  • May 7, 2008 at 10:08 pm
    Permalink

    @ 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

  • May 7, 2008 at 11:38 am
    Permalink

    Can you explain to me what the differences are in wamp 2.0 a,b,c
    I cant get c to work
    Thanks

  • May 7, 2008 at 12:02 am
    Permalink

    Hi,

    I installed WAMp. After setting password in config.inc, its working. Is it trouble after some time????

  • May 5, 2008 at 10:18 pm
    Permalink

    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

  • May 5, 2008 at 5:48 pm
    Permalink

    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?

  • April 27, 2008 at 1:59 pm
    Permalink

    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.

  • April 13, 2008 at 8:53 am
    Permalink

    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.

Leave a Reply