Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\htdocs\Giltrap\RootGiltrap\includes\config.php on line 8 ERROR : Unable to connect to MySql
Posted by: merrickdav (---.jetstream.xtra.co.nz)
Date: August 14, 2010 04:13AM

$con = mysql_connect("localhost","root","password"winking smiley;
if($con){
mysql_select_db("giltrap_giltrap"winking smiley;
}
else{
echo "ERROR : Unable to connect to MySql";
exit;
}

Worked on Xamp Lite but won't work here. Email me at merrickdav@gmail.com



Edited 1 time(s). Last edit at 08/14/2010 04:23AM by merrickdav.

Re: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\htdocs\Giltrap\RootGiltrap\includes\config.php on line 8 ERROR : Unable to connect to MySql
Posted by: yfastud (Moderator)
Date: August 14, 2010 05:03AM

did you setup db acct?

To setup Database Account, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Sorry, only registered users may post in this forum.