Home > php教程 > php手册 > 如何修护MYSQL数据表

如何修护MYSQL数据表

WBOY
Release: 2016-06-13 10:05:09
Original
1273 people have browsed it

如果数据表有问题,可以利用--recover --quick参数做修补的工作:
linux#myisamchk --recover --quick tbl_name
linux#isamchk --recover --quick tbl_name
如果上面的方法不能解决问题,可以将--quick参数去掉:
linux#myisamchk --recover tbl_name
linux#isamchk --recover tbl_name
如果还是不能解决问题,可以再试着改用--safe_recover参数:
linux#myisamchk --safe_recover --quick tbl_name
linux#isamchk --safe_recover --quick tbl_name

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template