原创 Mysql5.7 innobackupex 增量備份恢復數據

1、模擬數據變化(全備份之前) 3306 [(none)]> create database test charset utf8; 3306 [(none)]> use test; 3306 [(none)]> create ta

原创 Mysql體系與用戶權限管理

1、Mysql模型(C/S) 2、連接方式 TCP/IP:mysql -uroot -h xx.xx.xx.xx -P3306 -pxxx Socket: mysql -uroot -pxx -S /tmp/mysql.soc

原创 Centos7 二進制安裝Mysql5.7

1、mysql5.7.20 下載地址 https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.20-linux-glibc2.12-x86_64.tar.gz 2

原创 kubernetes安裝

1、設置每個主機hosts,加入IP和主機名對應關係 2、關閉每個主機的firewalld iptables selinux /proc/sys/net/bridge/bridge-nf-call-iptables /proc/s

原创 Python異常處理

一、異常和錯誤 1、語法錯誤(這種錯誤,根本過不了python解釋器的語法檢測,必須在程序執行前就改正) #語法錯誤示範一 if #語法錯誤示範二 def test: pass #語法錯誤示範三 print(haha