php issue...
Posted by: smounche (---.red.bezeqint.net)
Date: May 02, 2008 11:17PM

o.k.


when i enyer "phpMyAdmin"

on the bottom side of the screen it says:


"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.
"


what is that ?

Options: ReplyQuote
Re: php issue...
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 02, 2008 11:21PM

its always there at first.. u have no password for mysql.

if u dont want any i can show u how to get rid of the error. but ur best to set a password.


in phpmyadmin press privledges


open the user root localhost

and fill in a password



next open config.inc.php in c:/wamp/apps/phpmyadmin


find these lines and fill in ur passsword in this section of code in the third line iv here


$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)



if u want a little more security look at yfastuds guide to add a blowfish encyypted password

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: php issue...
Posted by: smounche (---.red.bezeqint.net)
Date: May 02, 2008 11:45PM

o.k.

i did what u said. and




Error
MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)





whha ?

Options: ReplyQuote
Re: php issue...
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 02, 2008 11:47PM

$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)




FIND THIS CODE


and fill ur password into it



$cfg['Servers'][$i]['password'] = 'yourpasswordgoeshere';

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: php issue...
Posted by: yfastud (Moderator)
Date: May 03, 2008 05:27AM


Options: ReplyQuote
Re: php issue...
Posted by: smounche (---.red.bezeqint.net)
Date: May 03, 2008 10:16AM

o.k hello again. i did everything it said in the guide.

now i reacive thie message:



"Cannot load mcrypt extension. Please check your PHP configuration."

Options: ReplyQuote
Re: php issue...
Posted by: psn (---.tbcn.telia.com)
Date: May 03, 2008 10:32AM

Left click on the wamp icon and go to PHP and there you will fin the extensions, scroll down in the extensin list and you will find php_mcrypt which you tick on.

Regards/Per

Options: ReplyQuote
Re: php issue...
Posted by: smounche (---.red.bezeqint.net)
Date: May 03, 2008 07:29PM

o.k. will dad this it ! thanks ! smiling smiley finally no errors ! smiling smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.