Jump to content


Photo

Need Help


  • Please log in to reply
1 reply to this topic

#1 magicAL

magicAL
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 02 December 2003 - 06:53 PM

I\'m Using Invision Powerboard, its been fine since March. Now, for no apparent reason, i get the following message. Im a real novice when it comes to MySQL - does this mean anything to anyone?

===============================================


Warning: mysql_connect() [function.mysql-connect]: Access denied for user: \'httpd@localhost\' (Using password: NO) in /home/sites/site11/web/forums/sources/Drivers/mySQL.php on line 64

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/sites/site11/web/forums/sources/Drivers/mySQL.php on line 67
ERROR: Cannot find database
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/sites/site11/web/forums/sources/Drivers/mySQL.php on line 100



There appears to be an error with the database.
You can try to refresh the page by clicking here, if this does not fix the error, you can contact the board administrator by clicking here

Error Returned

mySQL query error: DELETE FROM sessions WHERE running_time < 1070386641 or ip_address=\'192.168.0.144\'

mySQL error: Access denied for user: \'httpd@localhost\' (Using password: NO)
mySQL error code: 1045
Date: Tuesday 02nd of December 2003 06:37:21 PM

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 02 December 2003 - 07:45 PM

First you need to check if you have an user ID by this name

\"\'httpd@localhost\" to check this log into mysql

C:mysqlbin>mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 36 to server version: 4.1.0-alpha-max-nt-log

Type \'help;\' or \'h\' for help. Type \'c\' to clear the buffer.

mysql> use mysql;
Database changed
mysql> select * from user;


This will display the details and if you dont find a user by that name you need to add one,
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users