三云时光

三云时光

mysql查询字段为json数组字符串,json数组中是否包含某个数值

1、表结构 CREATE TABLE `sys_user_group` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',


云哥  49  2023-03-21 阅读全文

查看mysql最大链接数,设置最大连接数,查看谁在链接

1、查看最大连接数 show variables like '%max_connections%'; 2、设置最大链接数 set GLOBAL max_connections = 30


云哥  22  2023-03-14 阅读全文

MySQL查询正在执行的SQL,终止正在执行的SQL

查询正在执行的SQL select * from information_schema.`PROCESSLIST` where info is not null 或则 show full proc


云哥  121  2022-12-27 阅读全文

MySQL json数组查询

前提:mysql版本 8.0.25 1、表如下 CREATE TABLE `app_tag` ( `pkg` varchar(128) CHARACTER SET utf8 COLLATE utf


云哥  1369  2021-10-27 阅读全文

MySQL分区操作

-- 创建分区表 create table sales( order_name varchar(32), order_date datetime not null )ENGINE= Inn


云哥  602  2021-07-02 阅读全文

The slave I/O thread stops because master and slave have equal MySQL server UUIDs;

注意:如果出现如下错误 The slave I/O thread stops because master and slave have equal MySQL server UUIDs; 请确认一下


云哥  646  2021-01-13 阅读全文