![]() |
|
|
#1 (permalink) |
|
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. |
|
|
|
|
|
#2 (permalink) |
|
Administrator
Join Date: May 2003
Posts: 1,299
|
Hi,
Please open a ticket with your the login details you are using so we can test it out for you. Kind Regards, Jacob
__________________
Jacob Colton jacob@catalyst2.com Open a ticket | Knowledgebase | Rate catalyst2 | Review catalyst2 |
|
|
|
|
|
#3 (permalink) |
|
Resident NetOp/*nix Geek
Join Date: Dec 2003
Posts: 223
|
It looks like you haven't updated the configuration for whatever package you're using "mydomain_user" needs to be replaced with the MySQL username created through cPanel, or HELM.
Rob
__________________
Rob Shakir - rob@catalyst2.com |
|
|
|
|
|
#6 (permalink) |
|
Registered User
Join Date: Jun 2005
Posts: 8
|
Hehe no problem! Thanks for your reply on the ticket but I have definitely added the user to the database:
(from cpanel): Users in gallery2 perryart_john (Privileges: ALL PRIVILEGES) Anything else you can think of? I'm a bit stuck! JJ. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|