Home >Backend Development >PHP Tutorial >WordPress moving error

WordPress moving error

WBOY
WBOYOriginal
2016-07-29 09:15:571083browse

Error description: The following error occurred when moving wordpress:

Error: Table 'XXXX' is marked as crashed and last (automatic?) repair failed

Solution:

1. sudo service mysqld stop

2. cd /usr/local/mysql/var/dbName //db location

3. myisamchk -r tablename.MYI //Repair a single data table

or myisamchk -r *.MYI //Repair all data tables

4. sudo service mysql start

(check: mysqlcheck -o -r dbName -p)

Copyright statement: This article This is an original article by the blogger and may not be reproduced without the blogger's permission.

The above has introduced the WordPress moving error, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn