PDA

View Full Version : MySQL error after install - Cannot Access Site - UserN/PassW correct!


jessica
12-04-2006, 04:43 AM
Hi,

I've double checked and my username/password are correct and are in the config.php file as it should be. Yet, I cannot access the site at all after installing version 2.0 (I had 1.1 but deleted it and uploaded 2.0 from scratch).

Here is the error:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/preview/public_html/classes/DirDb.php on line 35
Could not connect: Access denied for user 'nobody'@'localhost' (using password: NO)Could not connect: Access denied for user 'nobody'@'localhost' (using password: NO)

Again, my set up is "localhost", "password", "username" (both the same and copy/pasted from phpMyAdmin), table prefix "dir_". The database loaded fine through install.

Thanks.

John Turner
12-04-2006, 06:17 AM
Hi jessica and welcome.

PLease provide me with your FTP and Cpanel credentials over PM.
I'll try to help you.

Michael Hill
12-04-2006, 06:32 AM
Hello, Jessica!

I fixed your problem. Your config.inc.php was empty.

Thanks!

jessica
12-07-2006, 05:31 AM
Thanks, Michael for you super QUICK response! :-)

Michael Hill
12-12-2006, 11:26 AM
I'm glad to help you, Jessica

foxonline
07-25-2007, 05:37 PM
Hi,
I have the same problem.
My config.inc.php may be good.

I have installed v2.0.1. and try update to 2.1.03

Could you help me?

Thanks in advance.
Regards.
JM

Ok, I fix the error, my config.inc was corrupt.
Now I have other problem that talk in other post