View Single Post
Old 12-29-2003, 09:49 PM   #3
kernel2
Green Mole
 
Join Date: Dec 2003
Posts: 6
Quote:
Originally posted by Charter
Hi. Try rechecking the connect.php file as it looks like you may be connecting to the wrong database.
Its connecting to the correct database

// Connection configuration
define('PHPDIG_DB_PREFIX','<dbprefix>');
define('PHPDIG_DB_HOST','localhost');
define('PHPDIG_DB_USER','root');
define('PHPDIG_DB_PASS','XXXX');
define('PHPDIG_DB_NAME','phpdig');


[root@cyberchatnet includes]# mysql -u root -p phpdig
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 78 to server version: 3.23.56

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

mysql> show tables
-> ;
+------------------+
| Tables_in_phpdig |
+------------------+
| engine |
| excludes |
| keywords |
| logs |
| sites |
| spider |
| tempspider |
+------------------+
7 rows in set (0.00 sec)

mysql>

That is no the causing the problem.
kernel2 is offline   Reply With Quote