A power outage or abnormal shutdown can cause table corruption in the MySQL database, especially when the MyISAM table data is large. There are three ways, one way to use MySQL's Repair table SQL statement, the other is to use the myisamchk provided
Features added or changed:
Security enhancements: Make strictly controlled locations, from which user-defined functions can be loaded, Plugin_dir system variables already
backported from MySQL 5.1. If the value is not empty, the file of the
MySQL MySQL introduction learning (i) installation article
Php+mysql+linux is now becoming a classic combination of small Web servers. Building and debugging MySQL databases in a indows environment is a preferred option for many web developers. I
Alarm Log found Error
2016-12-05 13:01:23 27830 [ERROR]/usr/sbin/mysqld:table './user/t_customer ' is marked as crashed and should be repaired2016-12-05 13:01:23 27830 [ERROR]/usr/sbin/mysqld:table './user/t_customer ' is marked as crashed and
1. OverviewFunction: Used to detect and repair corrupted data blocks on tables and indexes.2, the composition of the package1), Admin_tablesSyntax: Dbms_repair.admin_tables (table_name in Varchar2,table_type in Binary_integer,action in
I suddenly received an alarm from MySQL. I crashed from the database and restarted continuously. I opened the error log and found that a table was broken. If the innodb table is damaged, you cannot use repair table or other commands to repair myisam.
MySQL (the best combination with PHP) database errors caused by power failure or abnormal shutdown are very common problems. There are two ways to use the SQL statement of check table and repair table in MySQL (the best combination with PHP, another
MySQL FAQ and application skills summary, mysql application skills
Preface
In the daily development or maintenance of MySQL, it is often difficult to avoid some problems or faults, such as lost passwords and table damage. Summarize the common
Recently compiled mysql Common commands --- view the master database log-binfile number and pos number mysql-uroot-pzqgame.com-e "show master status \ G" | cut-d: -f 2 | sed-n'2, 3p '--- View table information show table status \ G; --- mysql
I. Summary of the causes of MyISAM Table Corruption in MySQL:
1. The data file is damaged due to a sudden power failure on the server. The mysql service is forcibly shut down without being shut down first. The mysqld process is killed when writing a
This article introduces ten little-known MySQL skills.MySQL is easy to learn and easy to use, and comes with a wide range of technical documents, these two factors make it widely used. However, with the rapid development of MySQL, even a veteran of
Next, let's take a look at the Log Type and file configuration details of my. cnf configuration in mysql. I hope the article will help you.
Mysql has the following types of logs:Error log: log-errQuery log: logSlow query log: log-slow-queriesUpdate
This article will introduce you to these unknown features.View query results in XML formatBy using the traditional-xml option to call the MySQL command line client program, you can view MySQL query results in XML format (instead of the traditional
The number of connections that MySQL can have. When the main MySQL thread receives a lot of connection requests in a very short period of time, this works, and then the main thread takes some time (although very short) to check the connection and
MySQL is easy to learn and easy to use, and comes with a wide range of technical documents, these two factors make it widely used. However, with the rapid development of MySQL, even a veteran of MySQL sometimes lamented the functionality of the
Mysql Data Sorting command AnalyzeTable (index repair) MySQL Optimizer (Optimization Component) needs to collect relevant information when optimizing SQL statements, this includes the cardinality of the table (which can be translated as "hash degree"
We know thatMySQL databaseAfter the installation is completeMy. cnf configuration fileMake proper modifications to make full use of the functions of the MySQL database. However, it seems difficult for beginners to modify the my. cnf configuration
Recently compiled mysql common command bitsCN.com
Recently compiled mysql common commands
--- View the log-binfile number and pos number of the master database
Mysql-uroot -pzqgame.com-e "show master status/G" | cut-d:-f 2 | sed-n'2, 3p'
---
Easy to learn and use MySQL: MYSQL is easy to learn and use with a wide range of technical documents. These two factors are widely used. However, with the rapid development of MySQL, even a veteran of MySQL sometimes lamented the functionality of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.