摘要: 显示最大连接数 show variables like "max_connections"; 设置最大连接数: set GLOBAL max_connections=1000; 查看mysql在关闭一个非交互的连接之前要等待的秒数,默认是28800s 也就是一个链接sleep八个小时后才会被mysq 阅读全文
posted @ 2023-07-19 18:38 花心大萝卜li 阅读(50) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/WUFUSHANLI/article/details/124419411?ops_request_misc=&request_id=&biz_id=102&utm_term=linux%E8%AE%BE%E7%BD%AEredis%E5%BC%80%E6% 阅读全文
posted @ 2023-05-19 15:29 花心大萝卜li 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1 我们设置开机启动需要将mysql.server 文件复制到 /etc/rc.d/init.d/ 目录下mysql 文件 我们的mysql.server 文件一般都在安装的根目录下的 support-files 目录下 cp /usr/local/mysql/mysql/support-files 阅读全文
posted @ 2023-05-19 14:38 花心大萝卜li 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 查询用户加密方式: select user,plugin from user where user='root'; 修改用户加密方式改为mysql_native_password。 alter user 'root'@'localhost' identified with mysql_native_ 阅读全文
posted @ 2023-05-18 13:24 花心大萝卜li 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 1 下载mysql wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.41-linux-glibc2.12-x86_64.tar.gz 2 groupadd mysql 添加用户组 useradd -r -g mysql mys 阅读全文
posted @ 2023-01-25 20:12 花心大萝卜li 阅读(143) 评论(0) 推荐(0) 编辑
摘要: UPDATE meteo_forecast_item SET forecast_path =REPLACE(forecast_path,'/data/jjj-smart-grid','/home/jjj-smart-grid/data') UPDATE qiyun_station_sequentia 阅读全文
posted @ 2022-12-05 18:10 花心大萝卜li 阅读(748) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-21 21:02 花心大萝卜li 阅读(121) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq825478739/article/details/124728304 阅读全文
posted @ 2022-11-21 20:38 花心大萝卜li 阅读(15) 评论(0) 推荐(0) 编辑
摘要: /** * 函数式接口 * @param supplier 要去做什么事情 get获取到做的事情的返回值 */ public static void supplierTest(Supplier<Integer> supplier){ Integer max = supplier.get(); Sys 阅读全文
posted @ 2022-11-01 23:31 花心大萝卜li 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 在低版本的 xxl-job 中, 初始化 XxlJobSpringExecutor 执行器需要在 @Bean 中加上 initMethod = "start", destroyMethod = "destroy",但是在高版本的 xxl-job(如 2.1.2)则需要删除 initMethod = 阅读全文
posted @ 2022-11-01 10:33 花心大萝卜li 阅读(601) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示