coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: riocalle on May 07, 2009, 01:29:14 PM

Title: Coppermine critical error: Unable to connect to database !
Post by: riocalle on May 07, 2009, 01:29:14 PM
Hi i transferred a host and uploaded the files and database to a new host.  after creatting the database, username and password, and importing the database from backup files, i got this this error when i tried to locate the file on www.ccebunet/premium/pics1:
-----

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'prem'@'localhost' (using password: YES)

<?php
// Coppermine configuration file
-----
below is my include/config.inc.php setting.

i am hosted on webhosting buzz and im dying to resolve this. i entered and reentered my db username and passwordby i got same issues.  hoping your kind and favorable reply.

thanks

----

Title: Re: Coppermine critical error: Unable to connect to database !
Post by: Hein Traag on May 07, 2009, 02:07:49 PM
Website url is not valid. Posting your config file settings is just plain .. let's say unwise.

Did you already check this with your host? It does happen that localhost does not work but you have to fil in the url for a sql server.
Title: Re: Coppermine critical error: Unable to connect to database !
Post by: riocalle on May 07, 2009, 02:16:27 PM
i mean ccebu.net/premium/pics

wat do you mean by filling in the url for a sql server?  like wat based on the settings above?
Title: Re: Coppermine critical error: Unable to connect to database !
Post by: Hein Traag on May 07, 2009, 02:22:59 PM
Instead of typing localhost for the server you get something such as sql.host.com for example. Did you check this problem with your host as wel? It is a mysql connection problem.
Title: Re: Coppermine critical error: Unable to connect to database !
Post by: Joachim Müller on May 07, 2009, 11:01:52 PM
Ask your webhost in this case - we can't help you with that. Only your webhost can.