摘要: 1. show create table tb2;show create table tb3; 2.desc tb2;desc tb3; 3.select count(Idx) from tb2; select count(Idx) from tb3; desc tb2;desc tb3;selec 阅读全文
posted @ 2022-12-04 21:25 FredGrit 阅读(11) 评论(0) 推荐(0) 编辑
摘要: SET GLOBAL connect_timeout = 6000;SHOW VARIABLES LIKE "%timeout"; 阅读全文
posted @ 2022-12-04 20:15 FredGrit 阅读(56) 评论(0) 推荐(0) 编辑
摘要: Find and delete files greater than a given size from the Linux command line sudo -u root sh -c 'cd ./snapd/cache/ && find . -size +100M -exec rm -rf { 阅读全文
posted @ 2022-12-04 19:41 FredGrit 阅读(107) 评论(0) 推荐(0) 编辑
摘要: //Util.h #pragma once #include <chrono> #include <ctime> #include <dirent.h> #include <fstream> #include <iostream> #include <thread> #include <unistd 阅读全文
posted @ 2022-12-04 18:12 FredGrit 阅读(32) 评论(0) 推荐(0) 编辑
摘要: You can also log into MySQL console and run the following command to set max_allowed_packet size for the duration of the session. set global net_buffe 阅读全文
posted @ 2022-12-04 16:45 FredGrit 阅读(26) 评论(0) 推荐(0) 编辑