1, MyisamchkThe MySQL server must be temporarily stopped using MYISAMCHK. For example, we want to overhaul the Discuz database. Perform the following actions:# service MySQL stop (stop MySQL);# Myisamchk-r/absolute path to the database file/*myi#
The project encountered this problem and continued operation after the disk was full, causing the table to be indexed incorrectly.phpMyAdmin has a repair button, but the project is using MySQL front software in a Windows environment. Online on the
One, Can ' t connect to MySQL server on ' localhost ' (10061)Translation: Cannot connect to MySQL on localhostAnalysis: This indicates that the "localhost" computer is present, but the MySQL service is not available on this machine.Need to start the
One, running the MySQL server as a non-privileged userBefore discussing how to start the MySQL server, let's consider what the user should be running the MySQL server. The server can be started manually or automatically. If you start it manually,
One, Can ' t connect to the MySQL server on ' localhost ' (10061)?
Translation: Can't connect to MySQL on localhost? Analysis: This indicates that the "localhost" computer exists, but does not provide MySQL service on this machine. Need to start
1, MyisamchkThe MySQL server must be temporarily stopped using MYISAMCHK. For example, we need to overhaul the Discuz database. Perform the following actions:# service MySQL stop (stop MySQL);# myisamchk-r/Database file absolute path/*myi# service
For some large data systems, the problem is that the query efficiency is low, and there is a very important problem is that the insertion time is long. We have a business system that requires 4-5 clocks per day for data import. This time-consuming
mysql| Reference | reference Manual | chinese
MySQL Chinese reference manual (catalog)
Reprinted translator: Yan Zi
return 〗〖 Forwarding
Translator: Yan Zi (clyan@sohu.com) Homepage: http://linuxdb.yeah.net
0 Translator Preface
1 General
Next let's answer some questions:◆ Does your database have a foreign key?◆ Do you need transaction support?◆ Do you need full-text indexing?◆ What query mode do you often use?◆ How big is your data?Thinking about the above questions can help you
MySql performance tuning policy and mysql tuning policy
This topic provides detailed parameter descriptions for my. cnf configuration.
The sample configuration is as follows:
# Cat my. cnf
# MySQL client library initialization.
[Client]
Port
The advantages and disadvantages of InnoDB and MyISAM for MySQL storage engine analysis bitsCN.com are as follows:
◆ Does your database have a foreign key?
◆ Do you need transaction support?
◆ Do you need full-text indexing?
◆ What query mode do
Today, because the server is automatically shut down, the error "fail1Table" appears when I open the website again. \ xxx "ismarkedascrashedandshouldberesponred operation. After calm analysis, this is a table problem. I found two ways on the
I. Error Correction
After detecting the database of phpBB in MySQL, we found that there was a problem with the users table. We tried to repair it using myisamchk and found that the preset repair method was not available, add more "-o" parameters.
This article introduces the problem caused by an illegal hardware shutdown.MySQL databaseOfData Table Corruption, An instance where the database cannot run normally. The next step is the author's troubleshooting process. Let's take a look at it.
The
The following articles mainly describe how to implement the basic usage of MySQL Databases in linux. The following describes the specific operations in the article, if you are interested in the actual operations, I hope the following articles will
Mysql External Locking is one of the locking methods. The following describes Mysql External Locking for your reference. If you are interested in Mysql External Locking, take a look.
Mysql external lock:
The server can also use external locks
MySQL database optimization (III) 1. estimation of query performance
In most cases, you can estimate the query performance by counting the number of disk searches. For small tables, you usually only need to search a disk once to find the
To schedule preventive maintenance for the MYSQL database server [team chart], you should consider setting up a schedule for preventive maintenance to help automatically detect problems so that you can take measures to correct them:
1) perform
Tuning bitsCN.com using Mysqlmy. cnf
Mysql Performance Tuning (my. cnf parameters)The reasonable optimization of MySQL directly affects the speed and carrying capacity of the database!MySQL is also the most difficult part of optimization. it not
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.