logon to local machine
Posted by: shadyshug (---.in-addr.btopenworld.com)
Date: April 22, 2006 12:26PM

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'hughmc'@'localhost' (using password: YES) in C:\wamp\www\uk-ok.com\Connections\conUk.php on line 9
Access denied for user 'hughmc'@'localhost' (using password: YES)

When i log on to wamp my website directory is seen ok but i get the message above and i cant see a reason any ideas chaps

i need to edit the site off line before i ftp to isp

rgds


Options: ReplyQuote
Re: logon to local machine
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: April 23, 2006 09:26AM

if you have not changed or added any other users to the mysql permissions table, then use root as the username, and leave the password blank.

mysql_connect ('localhost', 'root', null);

If you have changed your user id and password, then use:

mysql_connect ('localhost', 'Your_UserID_Here', 'Your_Password_Here');



Post Edited (04-23-06 09:28)

CyberSpatium
----------------------
WAMP Forum Admin

Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote


Sorry, only registered users may post in this forum.