?
Solved

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

Posted on 2008-06-23
5
Medium Priority
?
314 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

770 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