Download MySQL 5.7 Two package[[email protected] ~]# wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.21-linux-glibc2.5-x86_64.tar.gz
Unzip the MySQL 5.7 binary package to the specified directory[[email protected] ~]# tar zxvf mysql-5.7
Reference: Win 10 installing MySQL 5.7Website: http://blog.sina.com.cn/s/blog_5f39af320102wbk0.htmlThis article refers to the tutorial on the URL above, thanks to the author for sharing.I installed the decompression version, because the installation
The cause of the problem: the main library has set the parameters from the library replicate_do_db to the library main, and the later application has created the database as middle in the main library, not changing this parameter setting causes the
The MySQL system variables include global variables (globals) and session variables (sessions), the global variable takes effect for all session, and the session variable includes the global variable. MySQL tuning is bound to involve the adjustment
MySQL master-slave introduction MySQL master-slave is also calledReplication, AB replication。 Simply speaking is a and b two machines from the back, write the data on a, the other B will follow the writing data, both data real-time synchronization
View InnoDB Transaction Table Innodb_trx If there is a transaction thread being lockedSELECT * from INFORMATION_SCHEMA. Innodb_trx;If the ID exists in the sleep thread inside show full processlist, you need to remove the thread manuallyTo manually
Based on the mysql5.7.21 versionAside: Some commands if not available, please refer to the official version of the document, because, some of the command format, in the slowly obsolete (such as: IDENTIFIED BY PASSWORD ), or not recommended (such as:
Installation of MySQL in Linux environment
sudo yum install Mysql-server
Modifying a configuration file
Vim/etc/my.cnf
Add default-character-set = UTF8
Set up MySQL to start automatically
Multi-table Connection query (two specifications SQL92 and SQL99)SQL92 Specification:Equivalent connection, non-equivalent connection, outer connection, generalized Cartesian product connectionMultiple tables are placed after the from, after the
Table:Select Table_schema,table_name,table_type,engine from Information_schema.tables where Table_schema not in (' Performance_schema ', ' information_schema ', ' MySQL ');View:Select Table_schema,table_name from information_schema.tables where
Technology selection:I. Project CONSTRUCTION:1) Create a MAVEN project (I have an introduction in my blog)Choose Aptach's Maven-archetype-webappFill in Groupidhe Artifactid, etc.Confirm Project NameThe Maven plugin automatically generates the
Of course, to solve the problem, we have to have the environment first.A master one from the configuration flow:Main: Configure DNS resolution first, the experimental environment can use/etc/hosts parsingVim/etc/hosts192.168.122.45 Master1192.168.122
Mysql has the problem that the table 'xxxxx' is full, mysqlxxxxx
When this problem occurs, the first response is that the table is full and the disk is full, but the server is not long before it is started. No,
Then my friend sent me an article ..
Mysql database index optimization and Practice (I), mysql IndexPreface
Mysql database is currently the most widely used database system. Dealing with databases is one of the daily work of every Java programmer. index optimization is one of the
About mybatis callSettersOnNulls configuration,
Today, I am doing something myself, which wastes a lot of time...
In the settings of mybatis, You can see such a row. Out of the programmer's curiosity, I searched for what this setting did.
With
Translation: select into Statement (submitted to the MariaDB official Manual), intomariadb
This article is the translation of the mariadb official manual: select.
Original article:
A perfect solution for MySQL startup failure due to memory Insufficiency
1. Failed to start MySQL. View error logs/var/log/mysql/error.log
2. The main error messages are as follows:
[ERROR] InnoDB: mmap(136151040 bytes) failed; errno 12[ERROR]
Installation text tutorial for mysql5.7.18 in windows, text for mysql5.7.18
Windows MySQL installation tutorial
Download
1. login https://dev.mysql.com/downloads/installer/
Select Microsoft Windows
Click Download
2. Click No thanks at the bottom 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service