摘要: SHOW SLAVE STATUS \G;显示Slave_SQL_Running: No 解决方法: 从主服务器查询: SHOW MASTER STATUS 在从服务器上: change master to master_host = '169.254.60.151', #主库的IP地址 maste 阅读全文
posted @ 2024-04-13 23:09 老白_White 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 这个警告表明 MySQL 正在忽略 /etc/mysql/conf.d/my.cnf 这个配置文件,因为它被设置为了全世界可写。 这个警告是基于安全性的考虑。当配置文件被设置为全世界可写时,任何人都可以修改它,这可能会导致安全风险,因为恶意用户可以更改 MySQL 的配置,从而影响数据库的行为和安全 阅读全文
posted @ 2024-04-13 21:42 老白_White 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: Redis在Docker中一直run不起来,使用docker logs [容器ID]命令后发现提示 Fatal error, cant open config file '/etc/redis/redis.conf' 将docker run -v 挂载的本机conf文件的权限放宽(chmod 777 阅读全文
posted @ 2024-04-13 20:35 老白_White 阅读(561) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/a1150499208/article/details/131437199 阅读全文
posted @ 2024-04-11 11:34 老白_White 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 根据网上的解决方案: 1.我核对了sentinel.config和redis.config bind 绑定的端口。 2.三台redis masterauth都设置了密码 3.sentinel.config 的sentinel monitor mymaster 和sentinel auth-pass 阅读全文
posted @ 2024-04-09 22:17 老白_White 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 之前虚拟机ssh连接没问题,今天竟然连不上了。 打开虚拟机 ip a 网卡ens33没有ip root@ubuntu:~/Desktop# ip a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group de 阅读全文
posted @ 2024-04-08 13:06 老白_White 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 原因: 调用的服务生产者接口带有@PathVariable @FeignClient 注明的接口应该在@PathVariable注明变量名 @PathVariable(value = "xxxx"),不可省略 Feign 工作原理如下1、 启动类添加@EnableFeignClients注解,Spr 阅读全文
posted @ 2024-03-13 23:53 老白_White 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 错误原因:开启了保护模式解决方案:关闭保护模式和防火墙 具体步骤:1、打开你的redis配置文件,做出如下修改 2. 开启进程守护 yes代表开启守护进程模式。在该模式下,redis会在后台运行,并将进程pid号写入至redis.conf选项pidfile设置的文件中,此时redis将一直运行,除非 阅读全文
posted @ 2024-02-11 22:05 老白_White 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: 不能解决的话,参考:springboot项目使用mybatis-plus 时出现 Property ‘mapperLocations‘ was not specified的3个解决方案_property 'mapperlocations' was not specified.-CSDN博客 但我按照 阅读全文
posted @ 2024-01-07 17:31 老白_White 阅读(2146) 评论(0) 推荐(0) 编辑
摘要: 运行@Test时 UserService 无法完成注入 @SpringBootTest//自动创建Spring上下文环境class MybatisPlusApplicationTests { @Resource private UserService userService; @Test void 阅读全文
posted @ 2024-01-02 10:56 老白_White 阅读(107) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示