原创 Last_Errno: 1677,Column 1 of table 'mysql.user' cannot be converted from type 'char(48(bytes))'

Last_Errno: 1677 Last_Error: Column 1 of table 'mysql.user' cannot be converted from type 'char(48(bytes))' to type 'c

原创 Last_SQL_Errno: 3009

從庫報錯: Last_SQL_Errno: 3009 Last_SQL_Error: Error 'Column count of mysql.user is wrong. Expected 45, found 43. Created

原创 xtrabacku物理備份(單庫,多庫備份和恢復)

一、安裝工具 yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm yum install percona-xtrabackup-2

原创 12306 SERVER_UUID GTIDs that the slave requires

Last_IO_Errno: 1236 Last_IO_Error: Got fatal error 1236 from master when reading data from binary log:

原创 Last_SQL_Errno: 1677 cannot be converted from type 'varchar(1020)' to type 'varchar(255)'

Last_SQL_Errno: 1677 Last_SQL_Errno:Column 3 of table 'a86819.zz_bitch_log' cannot be converted from type 'varchar(10

原创 Assertion failed for IPv4 firewall with iptables Assertion failed on job for iptables.service.

[root@xwah]# systemctl restart iptables Assertion failed on job for iptables.service. [root@xwah]# systemctl status

原创 Slave failed to initialize relay log info structure from the repository

從上報錯: Slave failed to initialize relay log info structure from the repository 從上操作: mysql> stop slave; mysql> reset s

原创 Slave failed to initialize relay log info structure from the repository

從上操作: mysql> stop slave; mysql> reset slave; mysql> change master to master_host='10.10.102.34',master_user='zzh',mast

原创 同一內網使用多組主從keepalived

#Configuration File for keepalived global_defs { router_id haproxy_ha2 --這裏不能重複 } vrrp_instance VI_HA

原创 生產環境redis的使用

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 安裝redis:4.5 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yum -y install wget wg

原创 linux上獲取自己的外網ip

curl ifconfig.me  

原创 linux上網卡的鏈路聚合:模式team

建立team nmcli con add type team con-name eth0 ifname eth0 config '{"runner":{"name": "roundrobin"}}' nmcli con add type

原创 mysql5.6的詳解

一、innodb_buffer_pool_size 這個是Innodb最重要的參數, 這個參數主要緩存innodb表的索引,數據,插入數據時的緩衝。 如果是一個專用DB服務器,那麼他可以佔到內存的70%-80%。

原创 mysql的PXC5.7 集羣狀態說明

PXC常用管理 https://www.jianshu.com/p/7ae73a6baf03 PXC原理與啓動關閉及注意事項 https://blog.csdn.net/zengxuewen2045/article/details/

原创 zabbix監控網卡網絡流量

[root@zabbix_server bin]# ./zabbix_get -s 103.218.0.232 -k net.if.in[eth0,bytes] 2567960137 [root@zabbix_server bin]#