catalyst2 community forums  

Go Back   catalyst2 community forums > Support > Database Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 18-06-2005, 02:11 AM   #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.
TameLion is offline   Reply With Quote
Old 18-06-2005, 07:05 AM   #2 (permalink)
Administrator
 
Jacob's Avatar
 
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 is offline   Reply With Quote
Old 18-06-2005, 09:29 AM   #3 (permalink)
rob
Resident NetOp/*nix Geek
 
rob's Avatar
 
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
rob is offline   Reply With Quote
Old 18-06-2005, 09:58 AM   #4 (permalink)
Registered User
 
Join Date: Jun 2005
Posts: 8
Quote:
Obviously I have changed my domain name to 'mydomain' in these errors.
TameLion is offline   Reply With Quote
Old 18-06-2005, 11:07 AM   #5 (permalink)
rob
Resident NetOp/*nix Geek
 
rob's Avatar
 
Join Date: Dec 2003
Posts: 223
Sorry, early in the morning and I didn't read it right.

Rob
__________________
Rob Shakir - rob@catalyst2.com
rob is offline   Reply With Quote
Old 18-06-2005, 11:19 AM   #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.
TameLion is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.