forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: cleo_33 on July 30, 2013, 12:04:23 am

Title: Deleted coppermine database
Post by: cleo_33 on July 30, 2013, 12:04:23 am
I accidently deleted my coppermine database so I created a new one and a user on it with the same name and password and all rights. All photos, albums and etc are still on my file manager but I get this error:

Quote
Fatal error :

While executing query 'SELECT name, value FROM cpg15x_config' in include/init.inc.php on line 179

mySQL error: Table 'weheartb_coppermine.cpg15x_config' doesn't exist

How to connect the database to my gallery without having to start the gallery all over again.

Please help me because I uploaded like 20,000 photos that are hard to find and I need my gallery back. I just don't think I'll have the power to upload all this photos and sort them again.
Title: Re: Deleted coppermine database
Post by: cleo_33 on July 30, 2013, 12:09:02 am
And sorry for creating that thread here I didn't knew where should I make it I hope someone will move it where in the right section.
Title: Re: Deleted coppermine database
Post by: Joe Carver on July 30, 2013, 12:29:46 am
The database is totally separate from files and folders and is critical for the operation of Coppermine.

If you don't have a backup copy, ask your host if they make backups.

To all current and future readers of this - MAKE BACKUPS

Moving to Miscellaneous
Title: Re: Deleted coppermine database
Post by: cleo_33 on July 30, 2013, 10:35:59 pm
I contacted the host and they fixed the problem, it's all ok now.