exp_referrers.MYD Error
Posted: 19 December 2005 08:42 AM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  52
Joined  01-28-2003

I am getting the following error and cannot login to the EE control panel. Any thoughts on what to do to fix this?

MySQL ERROR:

Error Number: 1016

Description: Can’t open file: ‘exp_referrers.MYD’. (errno: 145)

Query: SELECT count(ref_id) AS count FROM exp_referrers

Thanks!

 Signature 

Triple Orbit, Inc.

Profile
 
 
Posted: 19 December 2005 08:44 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12433
Joined  04-29-2002

Rayna, repair your referrer’s table. That’ll fix it.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 24 January 2006 09:14 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  52
Joined  01-28-2003

I’m getting this error again and I cannot login into the control panel…...I need a quick fix a client is going nuts.

 Signature 

Triple Orbit, Inc.

Profile
 
 
Posted: 24 January 2006 09:42 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  52
Joined  01-28-2003

I did an update and upgraded the site to version 1.41 and I am still getting this error.

HELP! I can’t repair anything because I can’t login to the CP

 Signature 

Triple Orbit, Inc.

Profile
 
 
Posted: 24 January 2006 09:48 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Do you have access to phpmyadmin or something similar?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 24 January 2006 09:51 AM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  52
Joined  01-28-2003

Yes I do….and I see this when I look at that table

MySQL said: Documentation
#1016 - Can’t open file: ‘exp_referrers.MYD’. (errno: 145)

 Signature 

Triple Orbit, Inc.

Profile
 
 
Posted: 24 January 2006 09:53 AM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

No worries- go into it, click on the exp_referrers table, run a repair table.  I’ll look up the query for you, but by the time I do, it’ll probably be fixed.  phpmyadmin is pretty intuitive.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 24 January 2006 09:53 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15484
Joined  05-15-2004

How did you repair your table the last time? I’d use PHPMyadmin or

REPAIR TABLE exp_referrers

EDIT: I see rob got you covered.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 24 January 2006 09:53 AM   [ Ignore ]   [ # 8 ]  
Grad Student
Avatar
Rank
Total Posts:  52
Joined  01-28-2003

I don’t know how to repair the table…..could you walk me thru it?

 Signature 

Triple Orbit, Inc.

Profile
 
 
Posted: 24 January 2006 09:55 AM   [ Ignore ]   [ # 9 ]  
Grad Student
Avatar
Rank
Total Posts:  52
Joined  01-28-2003

THANK YOU!!!

Now my next question is how do I keep this from happening again…this is the 3rd time.

 Signature 

Triple Orbit, Inc.

Profile
 
 
Posted: 24 January 2006 10:02 AM   [ Ignore ]   [ # 10 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

There’s nothing about EE itself that causes the table becoming corrupted- but if it’s happening somewhat routinely, it may be due to a fatigued area on the hard drive.  Here’s a post where someone had issues with the exp_throttle table needing to be repaired every couple of weeks.  That’s just not normal- as Rick noted in his advice:

bet his database is sitting on a fatigued area of his hard drive.  Tables don’t just need to be repaired for no reason.  You might have him drop the table, using…

Different table- but the basic advise would be the same.  I’d consider exporting that table, dropping the table, then adding it back.  But be careful and make sure you have a full backup before you go mucking about in the db.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 24 January 2006 10:02 AM   [ Ignore ]   [ # 11 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15484
Joined  05-15-2004

There’s a pretty good explanation on the vbulletin forums, explaining the background in a bit more detail.

EDIT: Errno 145, by the way, means “Table was marked as crashed and should be repaired”. This is a server-side issue, I would guess.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65075 Total Logged-in Users: 29
Total Topics: 82210 Total Anonymous Users: 16
Total Replies: 441845 Total Guests: 191
Total Posts: 524055    
Members ( View Memberlist )
Newest Members:  TomsBmackskithbtggAdminempoleongwishPasha MahardikarmarkdurandomcatClutch Bearings