会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hzy_叶子
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
下一页
2021年1月19日
Spring Boot整合Sharding-JDBC实现数据分表+读写分离org.apache.shardingsphere+mybatis-plus(3)
摘要: 在本文中使用Spring Boot 2.4.1+MyBatis-plus+Druid+Sharding-JDBC+MySQL进行读写分离的案件讲解。 1、数据库准备 1、192.168.8.162 test1主 2、192.168.8.134 test1从 3、192.168.8.176 test1
阅读全文
posted @ 2021-01-19 11:12 hzy_叶子
阅读(455)
评论(0)
推荐(0)
2021年1月18日
Spring Boot整合Sharding-JDBC实现数据分表+读写分离io.shardingsphere(3)
摘要: 在本文中使用Spring Boot 2.4.1+MyBatis+Druid+Sharding-JDBC+MySQL进行读写分离的案件讲解。 1、数据库准备 1、192.168.8.162 test1主 2、192.168.8.134 test1从 3、192.168.8.176 test1从 2、准
阅读全文
posted @ 2021-01-18 14:38 hzy_叶子
阅读(443)
评论(0)
推荐(0)
2021年1月15日
Spring Boot整合Sharding-JDBC实现读写分离org.apache.shardingsphere+mybatis-plus(2)
摘要: 在本文中使用Spring Boot 2.4.1+MyBatis-plus+Druid+Sharding-JDBC+MySQL进行读写分离的案件讲解。 1、数据库准备 1、192.168.8.162 test1主 2、192.168.8.134 test1从 3、192.168.8.176 test1
阅读全文
posted @ 2021-01-15 14:17 hzy_叶子
阅读(1262)
评论(0)
推荐(0)
2021年1月14日
Spring Boot整合Sharding-JDBC实现读写分离io.shardingsphere(2)
摘要: 在本文中使用Spring Boot 2.4.1+MyBatis+Druid+Sharding-JDBC+MySQL进行读写分离的案件讲解。 1、数据库准备 1、192.168.8.162 test1主 2、192.168.8.134 test1从 3、192.168.8.176 test1从 2、上
阅读全文
posted @ 2021-01-14 13:51 hzy_叶子
阅读(551)
评论(0)
推荐(0)
Mysql数据库主从搭建
摘要: 1、MySQL 主从复制原理 主库将变更写入 binlog 日志,然后从库连接到主库之后,从库有一个 IO 线程,将主库的 binlog 日志拷贝到自己本地,写入一个 relay 中继日志中。接着从库中有一个 SQL 线程会从中继日志读取 binlog,然后执行 binlog 日志中的内容,也就是在
阅读全文
posted @ 2021-01-14 09:17 hzy_叶子
阅读(858)
评论(0)
推荐(0)
2021年1月13日
Centos7开放3306端口
摘要: 在 Centos 7 或 RHEL 7 或 Fedora 中防火墙由 firewalld 来管理,而不是 iptables。 一、firewalld 防火墙 语法命令如下:启用区域端口和协议组合 firewall-cmd [--zone=<zone>] --add-port=<port>[-<por
阅读全文
posted @ 2021-01-13 15:26 hzy_叶子
阅读(332)
评论(0)
推荐(0)
linux安装mysql5.7
摘要: 1、下载Mysql 2、环境配置 检测系统是否自带Mysql # rmp -qa|grep mysql 如果有进行强行卸载 # rpm -e --nodeps mysql-libs-5.1.52-1.el6_0.1.x86_64 检测系统是否自带mariadb # rpm -qa|grep mari
阅读全文
posted @ 2021-01-13 15:00 hzy_叶子
阅读(460)
评论(0)
推荐(0)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
摘要: 在Linux服务器上安装好mysql后登录时出现以下问题 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 查找mysql.sock 文件,命令如下:
阅读全文
posted @ 2021-01-13 13:23 hzy_叶子
阅读(913)
评论(0)
推荐(0)
Mysql报错:Failed to stop mysqld.service: Unit mysqld.service not loaded.
摘要: mysql安装完成后不能用命令 systemctl start mysqld #启动 systemctl stop mysqld #停止 解决办法: find / -name mysql.server 会出现服务路径: /usr/local/mysql/support-files/mysql.ser
阅读全文
posted @ 2021-01-13 13:04 hzy_叶子
阅读(6236)
评论(0)
推荐(1)
Linus安装mysql8
摘要: 1、官网下载安装包https://downloads.mysql.com/archives/community/ 2、通过xftp将安装包上传至Linux服务器 3、解压压缩包tar -xvf mysql-8.0.18-linux-x86_64-minimal.tar 4、继续解压需要的那一个, t
阅读全文
posted @ 2021-01-13 12:30 hzy_叶子
阅读(122)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
下一页
公告