Ok, Im making a multi-user blog script (its here) and i am trying to make things a little easier by making a function that would print a specific blog. Now, the function works fine when I test it by itself, but when i use it in a script and then try to do other MySQL querries it gives me the error
Warning: Access denied for user: 'ODBC@127.0.0.1' (Using password: NO) in d:\program files\apache group\apache\htdocs\nlblog\view.php on line 200
Warning: MySQL Connection Failed: Access denied for user: 'ODBC@127.0.0.1' (Using password: NO) in d:\program files\apache group\apache\htdocs\nlblog\view.php on line 200
Warning: MySQL: A link to the server could not be established in d:\program files\apache group\apache\htdocs\nlblog\view.php on line 200
cant get list of comments. 13
when earlier in the script i connected and executed sevearl queries. what could be doing this?
says it not connected when it is.
Moderator: General Moderators
- Sevengraff
- Forum Contributor
- Posts: 232
- Joined: Thu Apr 25, 2002 9:34 pm
- Location: California USA
- Contact:
- Sevengraff
- Forum Contributor
- Posts: 232
- Joined: Thu Apr 25, 2002 9:34 pm
- Location: California USA
- Contact:
- Sevengraff
- Forum Contributor
- Posts: 232
- Joined: Thu Apr 25, 2002 9:34 pm
- Location: California USA
- Contact:
could you post a bit of the code maybe?
you said the function works fine by itself, but when put in the application, it fails. looked over the error messages again, and it looks like you're trying to do a connect without a password. I do a lot of testing on my local machine, which doesn't have a password on the mysql server, and sometimes forget to change it on the remote site. could this be your problem?
you said the function works fine by itself, but when put in the application, it fails. looked over the error messages again, and it looks like you're trying to do a connect without a password. I do a lot of testing on my local machine, which doesn't have a password on the mysql server, and sometimes forget to change it on the remote site. could this be your problem?