Suddenly received the MySQL alarm, from the library of the database hung, has been in constant restart, open the error log, found that a table is broken. InnoDB table corruption cannot repair MyISAM command operations through repair table. Now
This article describes the MySQL regular batch check table repair and optimization table optimize the shell script, for MySQL database maintenance is very useful! As shown below:
#!/bin/bash
host_name=192.168.0.123
user_name=jincon.com
user_pwd=
A mature database architecture is not designed to have a high availability, high scalability, and so on, it is with the increase in user volume, the infrastructure is gradually improved. This blog post mainly discusses the MySQL database development
This article describes the MySQL implementation of the batch inspection table and repair and optimize method. Share to everyone for your reference, specific as follows:
The following is the Shell reference code:
#!/bin/bash
host_name=192.168
With the MyISAM storage engine, when you create a table, three files appear: Data file myd, index file myi, format file frm. When the index file is corrupted or missing, you can fix it by using the following method. Here is the experimental process.
A mature database architecture is not designed to be high availability, high scalability and other features, it is with the increase in user volume, the infrastructure is gradually improved. This blog post mainly on the MySQL database development
(turn) operation dimension on MySQL database optimizationTransferred from: http://lizhenliang.blog.51cto.com/7876557/1657465A mature database architecture is not designed to be high availability, high scalability and other features, it is with the
Operating system file limit size causes MYSQL ERROR 1194 (HY000): Table is marked as crashed and should being repaired problem handling
Colleague Feedback Application Report error when executing query for a table ERROR 1194 (HY000): Table
First, how to set?Click {full-Text search} at the end to set the full-text index, different MySQL version names may be different.Second, set the conditions1. The storage engine for the table is MyISAM, and the default storage engine InnoDB does not
I. OverviewThe Mysqlcheck client tool can examine and repair MyISAM tables, and can also optimize and parse tables. In fact, it integrates the Check,repair,analyze,optimize functionality in the MySQL tool, does not support memory tables for check,
1. How to log in to MySQL database
Mysql-u username-p
2. How to turn on/off MySQL service
Service MySQL Start/stop
3. Check the status of MySQL
Service MySQL Status
4, how to display the number of all databases
Show
id=164 the MySQL database error is a very common problem due to a power outage or an abnormal shutdown. There are two ways to use MySQL's check table and Repair table SQL statement, and the other is to use the multiple myisamchk provided by MySQL to
A mature database architecture is not designed to be high availability, high scalability and other features, it is with the increase in user volume, the infrastructure is gradually improved. The development cycle of the database is broadly divided
The process of server shutdown can be summarized as follows:
1. Start and close the process
2. The server creates a thread to close the thread as needed.
3. The server stops receiving new connections.
4. The server terminates the current activity.
5.
Mysql optimization settingsOpen the/etc/my. cnf file and modify the following settings. If not, add it manually. When adjusting the settings, please do your best, which depends on the configuration of your server, especially the memory size. The
When I first used MySQL Administrator to create a database, the table is of the InnoDB type by default, so I did not care about it. Later, when using Access2MySQL to export data, I found that only tables of the MyISAM type can be imported. I checked
Author/Translator: ye Jinrong (Email:); Source: http://imysql.cn/. the interpreter can be used for commercial purposes.
Date: 2006/10/01
This article discusses the MySQL backup and recovery mechanisms and how to maintain data tables, including the
There is a database online, and there are a lot of records similar to the following in slow log:Copy codeThe Code is as follows:# Time: 130823 13:56:08# User @ Host: repl [repl] @ slave [10. x]# Query_time: 9.000833 Lock_time: 0.000000 Rows_sent: 1
One mysql master-slave synchronization problem and solution process, mysql master-slave synchronization process
One mysql master-slave synchronization Solution Process
Modify the table structure the day before yesterday and extend the field
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.