04 2023 档案

centos7查看端口
摘要:netstat -anp | grep 3306 阅读全文

posted @ 2023-04-27 19:18 春分夏至 阅读(50) 评论(0) 推荐(0) 编辑

PHP8编译安装报错make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
摘要:make: *** [ext/fileinfo/libmagic/apprentice.lo] 错误 1 解决: 当配置PHP时出现 make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1 时 是因为服务器内存不足1G 只需要在配置命令中添加 阅读全文

posted @ 2023-04-27 18:05 春分夏至 阅读(326) 评论(0) 推荐(0) 编辑

Mysql 设置日志查看日志
摘要:一、查看日志是否开启: 1、show variables where Variable_name = 'general_log'; 2、show variables like 'general_log'; 二、开启和关闭的sql: 1、set global general_log=on; 2、set 阅读全文

posted @ 2023-04-27 10:49 春分夏至 阅读(424) 评论(0) 推荐(0) 编辑

Centos7配置Mysql8主从复制同步数据
摘要:1.首先需要在三台不同主机安装好mysql8, 参考:https://www.cnblogs.com/haoxuanchen2014/p/17351034.html 主库ip: 192.168.2.66 从库1ip: 192.168.2.67 从库2ip: 192.168.2.68 主库的数据表结构 阅读全文

posted @ 2023-04-24 22:41 春分夏至 阅读(176) 评论(0) 推荐(0) 编辑

centos7 安装Mysql8并配置可以远程访问
摘要:1.卸载centos7自带的MariaDB # rpm -qa|grep mariadb # yum erase mariadb 2. 下载mysql压缩包 # wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.33-el7-x 阅读全文

posted @ 2023-04-24 21:39 春分夏至 阅读(239) 评论(0) 推荐(0) 编辑

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 春分夏至 阅读(596) 评论(0) 推荐(0) 编辑

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 春分夏至 阅读(87) 评论(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 春分夏至 阅读(197) 评论(0) 推荐(0) 编辑

MySql修改密码
摘要:alter user 'root'@'localhost' identified by 'qwe123'; 阅读全文

posted @ 2023-04-22 17:20 春分夏至 阅读(9) 评论(0) 推荐(0) 编辑

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 春分夏至 阅读(386) 评论(0) 推荐(0) 编辑

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 春分夏至 阅读(808) 评论(0) 推荐(2) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示