unrecoveable cpg_pictures table unrecoveable cpg_pictures table
 

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]

Main Menu

unrecoveable cpg_pictures table

Started by quikman, April 14, 2004, 04:17:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

quikman

The cpg_pictures table is corrupted beyond repair. All the other tables appear to be Ok. Has anyone any advice on how best to fix the situation? Obviously I'll have to delete the table, but what to do after that? Recreate just the cpg_pictures table or do an install? What happens to all the images in the images stored in the albums? Any assistance gratefully accepted.

Joachim Müller

did you try the repair functions of mySQL (e.g. using a tool like phpMyAdmin)? What exactly do you mean by
Quotecpg_pictures table is corrupted beyond repair
? Did you mess with it or did it "break" by itself?
Obviously, if you delete the pictures table, all pics in your db will be lost, so you'll have to add them again (using btach-add). It's recommended not to do a fresh install, but just drop the table and create it again, so you won't lose registered users etc.

Posting a link might help...

GauGau

quikman

It "broke" itself. One day the gallery was there, the next day it wasn't. If I try to access the table using ISP provided tools, I get
QuoteSelect failed: select * from cpg11d_pictures
Can't open file: 'cpg11d_pictures.MYD'. (errno: 145)
Minds greater than mine have subsequently tried to fix it using a range of tools including phpMyAdmin but have declared it unsalvageable.

A link? http://www.customart.co.nz/gallery/

hyperion

Out of curiosity, do you do frequent batch adds?
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

quikman

No.

Only a few images get added each month, so they are added one at a time. In total there were about 90 images.

hyperion

"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

quikman

Quote from: "hyperion"A nice article on database corruption in MySQL.

http://www.databasejournal.com/features/mysql/article.php/3300511
Thanks, I'll keep that URL as a handy reference. unfortunately I think everything suggested and more had been done.

The experts have told me that I can't blame Coppermine for the problem. If the damage had been done by a script, it would be repairable, so they say. Apparently such catastophic failures are rare. I hope they are correct.