what does this mean? i get this when i try to access my site.!!!
Warning: mysql_connect(): Access denied for user: 'dan@localhost' (Using password: YES) in /home/dan/public_html/connectdb.php on line 8
no connection :o
somebody please help...urgent!!
The views expressed on this page by users and staff are their own, not those of NamePros.
It means that that particular database username ("dan") either does not have permission to connect to that particular database or that the password you have supplied (probably located in one of the php files) is incorrect.
If you have cpanel, check to make sure that the db user "dan" is assigned to have permission to access the database.
In the config file that has the MySQL info, you need to probably change the user and database name. If you're using cpanel, it's probably not going to just be 'dan', it'd be like loginname_dan same format for the database. Does that make sense? It uses the login name (same as the home directory name) and an underscore in front of all the user/db names.. so if your login is website for example, it'd be website_dan for the username and website_databasename for the database.
redhippo said:
i have open up the mysql....the check is on "priviledges" . what else need to be check?