Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Coppermine critical error  (Read 2901 times)

0 Members and 1 Guest are viewing this topic.

tamiafans.net

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
[Solved]: Coppermine critical error
« on: April 09, 2008, 05:27:11 am »

Whenever I go to my gallery website it says:

Quote
Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'tamia_cpm2'@'localhost' to database 'tamia_cpm2'


then I email my host and he says

Quote
About your Tamia gallery, it reffers to unexisting database (tamia_cpm2).

How can I fix this so that the gallery will start working again.  Thank You.
« Last Edit: April 09, 2008, 08:18:01 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine critical error
« Reply #1 on: April 09, 2008, 07:55:48 am »

If the database doesn't exist any longer, re-create it from a backup. If you have renamed the database, reflect your changes by editing include/config.inc.php accordingly.
Logged

tamiafans.net

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Coppermine critical error
« Reply #2 on: April 09, 2008, 07:59:49 am »

If the database doesn't exist any longer, re-create it from a backup. If you have renamed the database, reflect your changes by editing include/config.inc.php accordingly.

sorry to ask but how do I do that?  I don't think I made a backup.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine critical error
« Reply #3 on: April 09, 2008, 08:02:53 am »

Well, if the database is actually gone and you haven't made a backup, you're lost. It's up to you to make regular backups - what other answer would you have expected? Ask your webhost if they have made a backup for you (usually, they don't).
Logged

tamiafans.net

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Coppermine critical error
« Reply #4 on: April 09, 2008, 08:04:10 am »

Well, if the database is actually gone and you haven't made a backup, you're lost. It's up to you to make regular backups - what other answer would you have expected? Ask your webhost if they have made a backup for you (usually, they don't).

I see, but the problem is I'm going to my SQL database thing and it's saying that the database is still there.  Is there anything I can do?  ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine critical error
« Reply #5 on: April 09, 2008, 08:09:15 am »

Well, if the database is still there, make sure that all tables within it are still there as well and populated as expecxted. Make sure that the naming hasn't changed. If you can't figure this out, ask your webhost for support, because we can't.
Logged

tamiafans.net

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Coppermine critical error
« Reply #6 on: April 09, 2008, 08:10:30 am »

Well, if the database is still there, make sure that all tables within it are still there as well and populated as expecxted. Make sure that the naming hasn't changed. If you can't figure this out, ask your webhost for support, because we can't.

Thank you.  My webhost sucks...  Now if I could figure out how to login into my other forum...if you could help me with that that would be great.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine critical error
« Reply #7 on: April 09, 2008, 08:17:47 am »

Now if I could figure out how to login into my other forum.
You already have another open thread on that issue - don't cross-post!

My webhost sucks...
I don't think that your webhost sucks just because they can not hold your hand with this - that's simply beyond what you can expect. If you have no idea about databases, you should not use them. Don't expect to be spoon-fed. Anyway, marking thread as "solved" (although I can't replicate how you actually solved your issues, nor what page you have been refering to). Webhost-bashing is a bit lame if you ask me.
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 20 queries.