Solved

Table './livehelp/evo_sessions' is marked as crashed and should be repaired(Errno=145)

Posted on 2008-06-23
5
304 Views
Last Modified: 2013-12-12
I try to view my blog and get an error. I can't get into the database with mysql manager or with phpmyadmin. how can I fix the database?

MySQL error!

Table './livehelp/evo_sessions' is marked as crashed and should be repaired(Errno=145)

Your query:

INSERT INTO evo_sessions( sess_key, sess_lastseen, sess_ipaddress )
       
VALUES (
          "yFR58OiC6SK8CWkGxY4sMX22YqEi",
          "2008-06-23 10:31:19",
          "XXXXXX"
        )
0
Comment
Question by:JPERKS1985
  • 2
5 Comments
 
LVL 34

Expert Comment

by:Beverley Portlock
ID: 21847347
If you have shell access, try mysqlcheck

http://dev.mysql.com/doc/refman/5.0/en/mysqlcheck.html

0
 
LVL 1

Author Comment

by:JPERKS1985
ID: 21915724
How would I have it repair every table?
0
 
LVL 34

Accepted Solution

by:
Beverley Portlock earned 500 total points
ID: 21916026
mysqlcheck --repair db_name

will do all tables in a database

mysqlcheck -repair --all-databases

Will do all tables in all databases. All the info and examples you need are at
http://dev.mysql.com/doc/refman/5.0/en/mysqlcheck.html
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now