MYSQL installation guide
After learning linux for a long time, it is necessary to take notes. The following are mysql installation notes and common usage methods.Because I like debugging and optimizing the system, I used some options during
On a mysql server, an error is reported for N tables after the machine is accidentally restarted. You must have known that the database engine is myisam. It is so sad that it is too broken. first check the error message: mysqldescPARTITION_KEYS;
This article mainly introduces the FAQ of Mysql storage engine MyISAM, and solves problems such as table corruption, inaccessible access, and insufficient disk space, interested friends can refer to this article to share with you the solutions to
The following is a description of parameters in the my. cnf configuration file [client] port3309sockethomemysqlmysqltmpmy
The following is a description of parameters in the my. cnf configuration file [client] port = 3309 socket =/home/mysql/tmp/my
How can I fix MyISAM tables?
Translation: http://dev.mysql.com/doc/refman/5.0/en/myisam-repair.html
You can use the check table and repair table commands to CHECK and repair myisam tables.
Symptoms of Table Corruption include unpredictable exit and
The MySQL DATA table is broken. The following exceptions are mentioned when applications connect to the database:
1 java. SQL. sqlexception: Can't open file: 'kq _ atttemp. myi'. (errno: 145)
2 at com. MySQL. JDBC. mysqlio. checkerrorpacket
System Centos6.0
In fact, I usually install the software workstation when installing my own system, and then update all the packages. When installing other software, there is less dependency and less trouble; here I intentionally install the minimal
The mysqlcheck client tool can check and repair MyISAM tables, and optimize and analyze tables.
In fact, it integrates the functions of check, repair, analyze, and optimize in mysql,
There are three methods to call mysqlcheck:
Shell> mysqlcheck
The following is a description of parameters in the my. cnf configuration file:
[Client]
Port = 3309Socket =/home/mysql/tmp/mysql. sock
[Mysqld]
! Include/home/mysql/etc/mysqld. cnf # contains the configuration file and stores the user name and
MySQL database errors caused by power failure or abnormal shutdown are very common problems. There are two methods: one is to use the check table and repair table SQL statements of mysql, and the other is to use multiple myisamchk and isamchk Data
Question 1: The MySQL disk is full.
Question 2: mysql repair multiple tables
Repair table: perform the following steps by week:
1: lock table EE write;
2: flush table EE;
3: repair table EE;
4: flush table EE;
5: unlock table EE;
// A
Record mysql commands and scripts that are frequently used in development for backup. I haven't written SQL for a while recently, and it's a little unfamiliar.
(The following code is developed in winxp. Open a command prompt ).
First, start and stop
The back_log value indicates how many requests can be stored in the stack within a short time before MySQL temporarily stops answering new requests. Only if you want to have many connections in a short period of time, you need to increase it. In
1. When are MySQL data sheets susceptible to damage? A sudden power outage in the server caused data file corruption. force shutdown, without first shutting down the MySQL service and so on. 2. What is the main phenomenon after the data sheet is
The Mysqlcheck client tool can examine and fix myisam tables, and can also optimize and analyze tables.
In fact, it integrates the functions of check, repair, analyze, optimize in MySQL tools,
There are 3 different ways to invoke Mysqlcheck:
Analyze Table
MySQL's optimizer (optimization component) When optimizing SQL statements, you first need to gather some relevant information, including the cardinality of the table (which can be translated to "hash degree"), which indicates how
1. Enter the Mysqladmin processlist into the Mysql/bin catalogue;
2. Start MySQL, enter show Processlist;
If you have SUPER permissions, you can see all of the threads, otherwise you can only see the thread that you originated (this is the current
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 will introduce you to these unknown features.
View query results in XML format
By invoking the MySQL command-line client using the traditional-xml option, you can view the MySQL query results in XML format instead of the traditional
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.