mysql
常用sql实例
力–>行
绝知此事要躬行
展开
-
MySQL常用运维脚本
查询当前数据库连接数: show variables like '%conn%'; set global max_connections=200; --修改实例最大连接数 查看当前数据库连接: show status like 'Threads%'; ---查看线程并发信息 ...原创 2020-01-07 14:05:16 · 586 阅读 · 0 评论 -
MySQL sql实例
一个简单的MySQL存储过程 delimiter // CREATE PROCEDURE `dataUpdate`() begin declare allOr int; declare oUUID varchar(32); declare degree decimal(10,2); declare oInfoCursor cursor for selec...原创 2019-10-17 15:09:59 · 217 阅读 · 1 评论