MySQL is a powerful open-source database. With more and more database-driven applications, people have been pushing MySQL to its limit. Here are 101 Tips for adjusting and optimizing MySQL installation. Some tips are for specific installation environments, but these ideas are optimized through MySQL.
How to configure MySQL database server on CentOS
BitsCN.com accidentally found CentOS Professional Forum, remember: http://www.centospub.com
As a result, the initial learning configuration
This environment:
CentOS system,
Mysql-server (version forgot, because it was installed using yum)
The process is as follows (reprinted, according to detailed installation requirements, slightly add modifications ):
When
[MySQL major series] Mysql cluster architecture, mysql cluster architecture
Original article address (): [Technical Article] Mysql cluster architecture
Address: http://www.cnblogs.com/aiweixiao/p/7258444.html
Click follow public account
1. Main Content
1) mysql architectur
Mysql entry Series: MYSQL scheduling and locking problems [figure] 4.5 scheduling and locking problems
The previous sections mainly focus on making individual queries faster. MySQL also allows statements to be scheduled, which makes queries from several clients more cooperative, so that a single client will not be locked for too long. Changing the scheduling fea
Here is an example of importing an Excel file directly into MySQL. I spent the whole night testing, no matter the import of simple and traditional will not appear garbled, very useful.
Php-excelreader, download Address: Http://sourceforge.net/projects/phpexcelreader
Description
Test environment: MySQL database is UTF8 encoded. The import Excel document is in the XLS format, tested, and the XLSX format [Exce
Mysql middleware amoeba implements mysql read/write separation Amoeba is a proxy that uses MySQL as the underlying data storage and provides MySQL protocol interfaces for applications. It centrally responds to application requests and sends SQL requests to specific databases for execution based on user-defined rules. B
Tags: unknown memory proc warning error with Count ackThe likelihood of problems occurring1, may be/opt/mysql/data/data directory MySQL user does not have permissions (modify the data directory permissions) Workaround: Give permission, execute "chown-r mysql.mysql/opt/mysql/data" and restart Mysqld 2. The MySQL proces
compressed in real time when the record is requested, so it is often used as a repository.3.2.7 BlackholeBlack hole storage Engine, all inserted data will not be saved, the Blackhole engine table will always remain empty, any data written will disappear.3.2.8 Performance_schemaPrimarily used to collect database server performance parameters. MySQL user is not able to create a storage engine for Performance_schema tables, generally used to record binl
This article mainly introduces how to install MySQL and enable MySQL remote access in CentOS, including the introduction of MySQL random start and other operations. For more information, see
Install MySQL
Install MySQL and php-mysql
As an O M personnel, you should not only learn how to build and install mysql services, but also understand the use of basic commands and syntaxes. This is the note I have summarized after learning, and I hope it will be helpful to Cainiao like me.
1. log on to the mysql database1. connect to the local mysql database. the default port is 3306. #
How to modify the mysql password and forget the mysql password bitsCN.com
How to modify the mysql password and forget the mysql password
Modify the MySQL password:
1 mysqladmin-u root-p password 1234562 mysqladmin-u username-p old password new password
Forget the
This article mainly introduces the use of basic commands in the MySQL Cluster configuration process. The example of two node connections is provided in the real-time recording. For more information, see the following.
1. check whether you should use a MySQL Cluster.
Reduce the pressure on the data center nodes and process large data volumes. MySQL is distributed
use ORDER by rand (), it is likely to lead to the disaster of MySQL!!7, each table should be set an ID primary key, the best is an int type, and set on the automatic addition of the AUTO_INCREMENT flag, which should be used as the design table structure of the first thing must do!!8. Split the large DELETE or INSERT statement. Because these two operations will lock the table, the table is locked, and other operations are not in, as far as I would rat
This article describes the PHP simple backup and restore MySQL method. Share to everyone for your reference, as follows:
First, Backup:
Second, restore
The failed command is as follows:"; for ($ii =1; $ii Section ". $ii." (The contents are as follows):". $SB _command[$ii].""; }}//-----------------------------------------------------------}else{echo "MySQL backup file does not exist, please che
Today, my colleague A found me that Mysql server X has A high load and queries are slow. After a while of failure, we watched it together.
[Root @ redhat var] # uname-
Linux xxx 2.6.18-128. el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
[Root @ redhat var] # mysql-u root-p-e "select version ();"
+ ------------ +
| Version () |
+ ------------ +
| 5.1.32-log |
+ ------------ +
Colleag
MySQL Study -- MySQL schema_information database, mysql database schema
MySQL Study-MySQL schema_information Database
The information_schema database is generated after mysql 5.0. A virtual database does not exist physically.
The
Label:MySQL is now a better nosql solution. We say this because MySQL has the advantage of performance, ease of use, and stability when storing data such as key/value (Key/value). The MySQL engine is robust and well-supported by the community and the official, with a very rich online profile covering a variety of operations, troubleshooting, replication, and various usage patterns. For this reason,
1. new User Login MYSQL @ mysql-uroot-p @ password create user mysqlinsertintomysql. user (Host, User, Password) values ('localhost', jeecn', password ('jeecn'); refresh the system permission table mysqlflushprivileges; then a name is created: jeecn password: jeec
1. create a user // log on to MYSQL @ mysql-u root-p @
Batch processing is a non-interactive way to run mysql programs. like the commands you use in mysql, you will still use these commands. To implement batch processing, you need to redirect a file to the mysql program. First, we need a text file containing the same text as the command we entered in mysql. For example, we
[MySQL]-MySQL Grant command bitsCN.com
[MySQL]-MySQL Grant Command
This example runs on MySQL 5.0 and later.
The simple format of commands granted to users by MySQL is as follows:
Grant permission on database objects to user
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.