Anyone wanna tell me what I am doing wrong? I am very new to php, and would like to know why I am receiving this error:
http://www.founditforme.com/time.php
Here is a link to the script that I'd used...
http://foundit.web.aplus.net/phphelp.html
any help would be wonderful!
New to this! What the hell is my "localhost" with
Moderator: General Moderators
-
beefsister
- Forum Newbie
- Posts: 2
- Joined: Tue Mar 16, 2004 1:44 am
-
TheBentinel.com
- Forum Contributor
- Posts: 282
- Joined: Wed Mar 10, 2004 1:52 pm
- Location: Columbus, Ohio
I think you need to post the code you're using. MySQL installs with a user named "root" that has a blank password, I believe. So whereever you have "foundit" as a user, maybe change it to root, and wherever you have YES as a password, change it to "".markl999 wrote:Access denied for user: 'foundit@localhost' (Using password: YES)
That's about it, the user foundit has no access to the mysql database using the password you supplied.
Just shooting blind though. If that doesn't work, please post your code.
could just be that in that line 3 its asking for a password to connect to youre mysql, and that in youre config you might have deleted that line wich says
if you have done that it will also give you that error.
if you do not have a password set, just leave it blank
but like TheBentinel said its all guessing without the connection code and the lines 1 untill 4 of the error
Code: Select all
$password = '' ;if you do not have a password set, just leave it blank
but like TheBentinel said its all guessing without the connection code and the lines 1 untill 4 of the error