FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Installed Wamp but there is a Security Problem

 


Possum
Hi

I installed Wamp. But when I went to phpMyAdmin I saw this message at the bottom of the Page..

Quote:
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.


How can I Fix this..


Picture here
http://udopage.com/udopage_313.php

Cheers Possum
swizzy
I strongly assume you have XAMPP, if yes go to this url http://localhost/security/ (with mysql, apache daemons turned on)

else, type this in command prompt

Code:
C:\Program Files\MySQL\bin\mysqladmin.exe -u root -p NEWPASSWORD


then open the config.inc.php in the phpmyadmin directory, and change the lines to this

Code:
$cfg['Servers'][$i]['user']            = 'root';   // MySQL User
$cfg['Servers'][$i]['auth_type']       = 'http';   // HTTP authentification



revert if you face any problems...
rvec
he has WAMPP not XAMPP Wink
and he did say that kinda clear.

It's not needed to give the root a password if your server isn't accessible from the outside (I tested it, and it is).

You can give your root user a password by going to phpmyadmin ( http://localhost/phpmyadmin ), go to 'Privileges'. There you can see all users and if they have a password set. The host is the place where the user connects from (% is all and 127.0.0.1 and localhost is your own pc). To edit a user (also password) click on the 'edit user' button (most right of the table). There you can change the password and save it with the 'Go' button (right side below).
Reply to topic    Frihost Forum Index -> Scripting -> Website Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.