Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / zen_db_cache' is marked as crashed and should be repaired

zen_db_cache' is marked as crashed and should be repaired

Locked

Started by upollo on 20 Apr 2008, 3:42 AM · Views: 4,560

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
20 Apr 2008, 3:42 AM
#1
upollo avatar

upollo

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Post #1 by upollo

Hi,

I am seeing this error in one of my clients' sites. I have tried doing a repair on the table (many times) but it hasn't fixed the problem.

What I would like to know is - could I simply delete it and recreate it? Is that going to cause any other problems?

TIA

20 Apr 2008, 4:02 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

If you have good full regular backups, and you are confident in managing database tables and content, you could try that. It would be prudent to contact the hosting company if you are uncertain.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Apr 2008, 4:18 AM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #3 by kuroi

DrByte:

If you have good full regular backups, and you are confident in managing database tables and content, you could try that. It would be prudent to contact the hosting company if you are uncertain.Message to DrByte ... even though you have dodgy, irregular backups, it would be prudent to make contact with your bed after spending a day in uncertain company!

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Apr 2008, 4:46 AM
#4
upollo avatar

upollo

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Post #4 by upollo

DrByte:

If you have good full regular backups, and you are confident in managing database tables and content, you could try that. It would be prudent to contact the hosting company if you are uncertain.

Yes, I am confident working with MySQL databases, I have designed many sites that use them.

I posed the question because I am unsure of the purpose of this particular table. It appears to be just a temporary storage of visitor data (perhaps?) so losing the content wont affect anything else - do you know if this is correct?

20 Apr 2008, 4:52 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #5 by drbyte

kuroi:

Message to DrByte ... even though you have dodgy, irregular backups, it would be prudent to make contact with your bed after spending a day in uncertain company!

Message to uncertain company ... sleep is well advised to all parties involved regardless of backup status :smartalec:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Apr 2008, 4:57 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

upollo:

Yes, I am confident working with MySQL databases, I have designed many sites that use them.

I posed the question because I am unsure of the purpose of this particular table. It appears to be just a temporary storage of visitor data (perhaps?) so losing the content wont affect anything else - do you know if this is correct?

The db_cache table is used to store cached query results if your store's setup is configured to cache to the database (see configure.php). You can safely delete and recreate the table if you know what you're doing with managing databases (many readers of this forum dabble where they ought not to). Naturally I suggest doing so during a less-busy time to minimize disruption to your users.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Apr 2008, 4:59 AM
#7
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Post #7 by blindside

upollo:

Hi,

I am seeing this error in one of my clients' sites. I have tried doing a repair on the table (many times) but it hasn't fixed the problem.

What I would like to know is - could I simply delete it and recreate it? Is that going to cause any other problems?

TIA
Tia, what's the actual error?

Note to DrByte: sleepy people will often miss omissions like this...

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com

20 Apr 2008, 5:01 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #8 by drbyte

BlindSide:

Note to DrByte: sleepy people will often miss omissions like this...

Amazing how easily one can be made sleepy whilst techies talk code for hours on end.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Apr 2008, 5:03 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #9 by drbyte

upollo:

What I would like to know is - could I simply delete it and recreate it? Is that going to cause any other problems?

TIA

BlindSide:

Tia, what's the actual error?BTW, I think you must need some sleep yourself. I suspect "TIA" means "Thanks in Advance", and does not necessarily denote the first name of the poster :smartalec:

Even sleepy doctors catch that :eek:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Apr 2008, 5:05 AM
#10
upollo avatar

upollo

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Post #10 by upollo

Excellent, thanks DrByte. That has fixed the problem :smile:

20 Apr 2008, 5:08 AM
#11
upollo avatar

upollo

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Post #11 by upollo

DrByte:

I suspect "TIA" means "Thanks in Advance", and does not necessarily denote the first name of the poster

Correct :smile:

20 Apr 2008, 5:16 AM
#12
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #12 by kuroi

So glad that the good doctor was able to help you and all thoughts of malpractice suits can now be put to bed. :sleep1:

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Apr 2008, 5:23 AM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #13 by drbyte

:sleep1:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Jun 2010, 6:52 AM
#14
netgirlz avatar

netgirlz

New Zenner

Join Date:
Aug 2009
Posts:
34
Plugin Contributions:
0

Post #14 by netgirlz

just received this same error, deleted the table and rebuilt the table in sql and all is better again

however why/how did it crash, we have the latest security patches installed but still it has happened

23 Jun 2010, 3:12 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #15 by ajeh

Security and a crashed database table are two different things ...

Sometimes, there can be an issue with the database causing issues like this.

You might check with your hosting provider to see if they have any ideas of what might have happened.

Fortunately, this particular table crash has a quick and easy solution to fixing the table ... :lamo:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!