上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页

2023年4月24日

Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for this operation

摘要: 原因是由于root用户没有SYSTEM_USER权限,把权限加入后即可解决: grant system_user on *.* to 'root'; 阅读全文

posted @ 2023-04-24 17:48 四季皆春 阅读(784) 评论(0) 推荐(0)

2023年4月22日

Mysql解决Authentication plugin ‘caching_sha2_password‘ cannot be loaded

摘要: 1、登录Mysql mysql -u root -p 2、修改账户密码加密规则并更新用户密码 //修改加密规则ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; //更新一下用户的密码ALTER 阅读全文

posted @ 2023-04-22 22:20 四季皆春 阅读(114) 评论(0) 推荐(0)

mysql设置允许外部访问

摘要: 配置mysql允许外部进行登录访问; 登录进入mysql;mysql -uroot -p输入密码进入, user mysql; select host,user from user; 3. 更新user表中root用户域属性,’%'表示允许外部访问 update user set host='%' 阅读全文

posted @ 2023-04-22 22:15 四季皆春 阅读(235) 评论(0) 推荐(0)

MySql修改密码

摘要: alter user 'root'@'localhost' identified by 'qwe123'; 阅读全文

posted @ 2023-04-22 17:20 四季皆春 阅读(22) 评论(0) 推荐(0)

2023年4月21日

2023PHP面试题收集

摘要: 1. $a = "aabbzz";$a++;echo $a;// aabcaa2. if ('1e3' == '1000') { echo 'yes';}else{ echo 'no';}// yes if (1e3 == '1000') { echo 'yes';}else{ echo 'no'; 阅读全文

posted @ 2023-04-21 15:05 四季皆春 阅读(406) 评论(0) 推荐(0)

2023年4月9日

Docker启动Tomcat失败提示Cannot find /usr/local/tomcat/bin/setclasspath.sh

摘要: docker启动tomcat失败,提示如下: [root@host66 ~]# docker run -it -p 8000:8080 tomcatCannot find /usr/local/tomcat/bin/setclasspath.shThis file is needed to run 阅读全文

posted @ 2023-04-09 09:06 四季皆春 阅读(1017) 评论(0) 推荐(2)

2023年3月23日

Redis配置哨兵模式

摘要: 假设已经提前部署好Redis主从配置;并且防火墙开启端口: 22, 6379, 26379 1.在每台redis主机部署哨兵 ,修改 /sentinel.conf port 26379 # 默认端口26379 daemonize yes # 设置为后台启动 logfile '/mytest/logd 阅读全文

posted @ 2023-03-23 09:51 四季皆春 阅读(441) 评论(0) 推荐(0)

2023年3月22日

redis哨兵机制

摘要: 参考文章: https://blog.csdn.net/Ever_Ardour/article/details/119547363 https://blog.csdn.net/qq_26368063/article/details/99971859 https://blog.csdn.net/qq_ 阅读全文

posted @ 2023-03-22 22:38 四季皆春 阅读(32) 评论(0) 推荐(0)

Centos7实现Redis主从模式搭建

摘要: 1、假设在四个虚拟机分别安装redis;ip地址分别为: A: 192.168.2.66 (主机) B: 192.168.2.67 C: 192.168.2.67 D: 192.168.2.67 2、四个虚拟机全部开启防火墙6379端口 # firewall-cmd --zone=public -- 阅读全文

posted @ 2023-03-22 17:32 四季皆春 阅读(186) 评论(0) 推荐(0)

2023年3月21日

解决ping: www.baidu.com: Name or service not known

摘要: centos7在配置为静态网络后,局域网之间可以相互ping通,但是ping外网ping不通。 旧的配置: 1 TYPE="Ethernet" 2 PROXY_METHOD="none" 3 BROWSER_ONLY="no" 4 BOOTPROTO="static" 5 DEFROUTE="yes 阅读全文

posted @ 2023-03-21 17:25 四季皆春 阅读(1431) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页

导航