MySQL Master-Slave Copy Separated from Read-Write (Practice)
Type of MySQL master-slave replication
Statement-based replication (default)
Statements executed on the primary server, same statements executed from the server
Row-based replication
Copy changes to from server
Mixed type replication
Row-based replication is used when statement-based replication is found to be inaccurate
Master-slave dup ...
Added by Vasko on Thu, 12 Dec 2019 21:00:37 +0200
Binary deployment MySQL 5.7
Binary deployment is relatively simple. You can go to mysql official website without installing dependent environment download MySQL binary package. Or through the link of my network disk download , there are auto deployment scripts in the network disk link.
Note: the latest MySQL version 8.0 is completely consistent with the deployment proces ...
Added by silverglade on Wed, 11 Dec 2019 16:05:29 +0200
New server building - Summary: Download nginx, jdk8, docker compose (install mysql,redis) with installation
Preface
For example, the company bought a new 4-core 16G server and had to rebuild the environment, so it had to do one by one and make a record
1.nginx: manual installation
2.jdk8: manual installation
3. Install docker and docker compose
3. Docker compose encoding, one click docker to install mysql, redis
nginx installation
Available ...
Added by elgoog on Wed, 11 Dec 2019 15:55:03 +0200
Log interception of nginx and warehousing practice of shell script
Implemented front end monitoring
Understand business access and user distribution
Monitor the stability of business customization key nodes (payment, im message, etc.)
Monitor business system exceptions (exception details, exception occurrence environment)
Monitor business performance (future)
Alarm, mail task (future)
Written in front
This ...
Added by stuworx on Wed, 11 Dec 2019 11:39:42 +0200
Linux file and directory operation command 01
2.1 pwd(5*****)
(print work directory) print the working directory (display the current path) followed by - L, which is also - L (logical) by default. If the logical path (equivalent to win's) - P (physical) is displayed, the real physical path will be displayed
[root@oldbody local]# pwd
/usr/local
[root@oldbody local]# cd - return to the last ...
Added by Lind/swe on Wed, 11 Dec 2019 09:05:45 +0200
Java connects to manage database through JDBC
Third party classes are needed to access MySQL database. These third party classes are all compressed in a file called Jar. In order for the code to use third-party classes, you need to import mysql's special Jar package for the project
Attach the download address link of the download jar package: https://pan.baidu.com/s/16BdVevqO6ezgtVPdwKar0 ...
Added by philspliff on Tue, 10 Dec 2019 22:03:32 +0200
Big data: installation details of Hive
What is hive?
Open source by facebook, used to solve the data statistics of massive structured logs;
A data warehouse tool based on hadoop uses HDFS to store and map structured data files into a table, and provides the function of sql like query. The bottom layer uses MR to calculate;
The essence is to transform HQL into ...
Added by calbolino on Tue, 10 Dec 2019 20:06:18 +0200
Error reporting of initialization temporary password after mysql8.0.11 is installed successfully
Error reporting of initialization temporary password after mysql8.0.11 is installed successfully
View mysql version number after successfully installing mysql 8.0.11
Execute the initialization command mysqld --initialize --console to report an error
Causes and Solutions
Log in to MySQL with a temporary password and change the ...
Added by KI114 on Tue, 10 Dec 2019 14:46:05 +0200
MySQL basic query example
Note: this post is based on the table in the previous post. The previous post: MySQL basic query example (1).
1. Query all f ﹣ name values corresponding to each s ﹣ ID in the fruits table
<!--Compact in groups-->
mysql> select s_id,group_concat(f_name) as name from fruits group by s_id having count(f_name) > 1;
The results are a ...
Added by php_joe on Tue, 10 Dec 2019 13:00:43 +0200
SpringBoot+MyBatisPlus+ElementUI step by step to build a project with front and rear end separated (with code download)
scene
Step by step, we will teach you to quickly build a spring boot project in IEDA:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/87688277
Please refer to the following blog for plug-in installation
Use @ Data to install Lombok plug-in for SpringBoot project in IDEA
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/88 ...
Added by snap2000 on Mon, 09 Dec 2019 20:19:45 +0200