Re: Troubleshooting admin MySQL connection problem [message #159114 is a reply to message #159110] |
Tue, 05 May 2009 20:41   |
3jane
 Messages: 9 Registered: April 2009 Location: The Great Northwest
Karma:
|
Junior Member |
|
|
Okay, I used:
compile_all('default', 'english', 'default');
(BTW, the original code I copied didn't use quotes around the parameters). I didn't see any errors when it executed, so I assume it worked, as far as rebuilding the default theme. However, when I tried the admin panel afterward:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'cambrian_admin'@'localhost' (using password: YES) in /home3/cambrian/FUDforum/include/theme/default/db.inc on line 17
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home3/cambrian/FUDforum/include/theme/default/db.inc on line 17
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home3/cambrian/FUDforum/include/theme/default/db.inc on line 17
Fatal error: SQL Error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in /home3/cambrian/FUDforum/include/core.inc on line 189
Interestingly, I can connect to the database from the command line using the MySQL login info from GLOBALS.php with no problem. I've checked all the paths and symlinks and they all seem to be correct. Is there some way I can troubleshoot FUDforum's database connection mechanism, perhaps by inserting some PHP code or using standalone code?
Your generous assistance is greatly appreciated.
[Updated on: Tue, 05 May 2009 20:42] Report message to a moderator
|
|
|