Thread: Access denied
View Single Post
Old 18-06-2005, 02:11 AM   #1 (permalink)
TameLion
Registered User
 
Join Date: Jun 2005
Posts: 8
Access denied

I'm trying to set up a gallery which uses a database, but when I put in the hostname (localhost), user name, password and DB name it comes up with the error:

localhost: Access denied for user: 'mydomain_user@localhost' to database 'database'

I know the details must be correct because if I do not put in the correct password it comes up with a different error:


Warning: mysql_connect(): Access denied for user: 'mydomain_user@localhost' (Using password: YES) in /home/mydomain/public_html/gallery2/lib/adodb/drivers/adodb-mysql.inc.php on line 339
localhost: Access denied for user: 'mydomain_user@localhost' (Using password: YES)

Obviously I have changed my domain name to 'mydomain' in these errors. Any ideas why I'm denied access?

JJ.
TameLion is offline   Reply With Quote