Install Percona XtraDB Cluster(PXC) 5.7 based on entOS 7

Percona XtraDB Cluster (PXC) is the best choice for many enterprises to implement clustering schemes based on MySQL. PXC supports high availability of services, data synchronous replication (concurrent replication), almost no delay, multiple simultaneous read and write nodes, write extensions, and so on. Previously, I s ...

Posted on Fri, 14 Dec 2018 19:06:03 -0800 by iamchris

mysql reconnect, connection lost: The last packet successfully received from the server

Reasons for the problem: In fact, some brief instructions have been given in the above tips. Simply speaking, when the program starts, when it interacts with DB for the first time, it obtains the corresponding DB Connection resources, so as to carry out normal DB reading and writing operations. But the next time I rea ...

Posted on Thu, 13 Dec 2018 08:09:18 -0800 by samsolomonraj

Detailed description of / etc/passwd and / etc/shadow files in linux system

In the linux operating system, every user in the / etc/passwd file has a corresponding record line, which records the basic attributes of the user. This file is readable to all users. And the / etc/shadow file, like his name, is a shadow of the passwd file. The record line in the / etc/shadow file corresponds to one of the / e ...

Posted on Thu, 13 Dec 2018 01:36:06 -0800 by MrPen

Common control statements in shell for, while, if, case, expect, exit, break, continue

I. for statement The command grammar is as follows: for NUM in 1 2 3 for NUM in {1..3} for NUM in `seq 1 3`perhapsfor NUM in `seq 1 2 10` for (( Expression1;Expression2;Expression3)) do done for statement demonstration [root@136 mnt]# vim ceshi.sh [root@136 mnt]# cat ceshi.sh #!/bin/bash for NUM in 1 2 3 do echo $ ...

Posted on Wed, 12 Dec 2018 03:18:05 -0800 by devilincarnated