mysql常用操作命令

一二三5年前 (2020-11-30)395
创建数据库 create database [数据库名称] default character set utf8 collate...

Centos7 MariaDB Galera cluster初始化和启动报错两例

一二三5年前 (2020-11-30)423
问题一:160613  0:43:36 [Note] WSREP: Read nil XID from storage engines, skipping position init1606...

Centos 关闭selinux

一二三5年前 (2020-11-30)514
Centos 关闭selinux:setenforce 0修改/etc/selinux/config,设置SELINUX=disabled,确保重启后也生效。...

Centos 同步网络时间

一二三5年前 (2020-11-28)453
Centos 同步网络时间yum install ntpdate -yntpdate ntp1.aliyun.com...

Centos7 mariadb 10.5主主复制

一二三5年前 (2020-11-28)501
1.主数据库(1)vim /etc/my.cnfport=3306server-id=129log-bin=mysql-binauto_increment_increment=2auto_increm...

Centos7 防火墙(firewall)常用操作

一二三5年前 (2020-11-28)410
防火墙操作查看防火墙状态启动: systemctl start firewalld查看状态: systemctl status firewalld 停止:  systemctl s...

Centos7 mariadb 10.5数据库的数据目录修改

一二三5年前 (2020-11-28)431
1、查看MySQL/MariaDB数据库的数据目录MariaDB [(none)]> select @@datadir;+-----------------+| @@datadir ...

Centos7 mariadb 10.5集群式部署常见故障处理

一二三5年前 (2020-11-28)500
Centos7 mariadb 10.5集群式部署常见故障处理
1、It may not be safe to bootstrap the cluster from this node. It was not the last one一、故障现象查看mysql错误...

Centos7 mariadb 10.5集群式部署

一二三5年前 (2020-11-28)485
Centos7 mariadb 10.5集群式部署
1、环境准备准备三台虚拟机,分别安装CentOS7-7.7。服务器A:10.88.1.14 node1服务器B:10.88.1.15 node2服务器C:10.88.1.16 node3三台虚机上关闭...

Centos7 LVS+Keepalived+Nginx基于DR模式构建高可用方案

一二三5年前 (2020-11-28)577
Centos7 LVS+Keepalived+Nginx基于DR模式构建高可用方案
1、准备机器名称网卡0网卡1VIPlvsmaster192.218.92.185(网关:192.218.92.1)10.88.1.20(无网关)内网通信使用192.218.92.187lvsbacku...