摘要:
SELECT a.TABLE_SCHEMA,a.TABLE_NAME,a.index_name,GROUP_CONCAT(column_name ORDER BY seq_in_index) AS `Columns`FROM information_schema.statistics a GROUP 阅读全文
摘要:
查询数据库中的存储过程和函数 select `name` from mysql.proc where db = 'xx' and `type` = 'PROCEDURE' //存储过程 select `name` from mysql.proc where db = 'xx' and `type` 阅读全文
摘要:
设置成0,存储磁盘时的值为给定的值,对比时区分大小写。设置成1,存储磁盘表名被转为小写,对比时不区分大小写。设置成2,存储磁盘时的值为给定的值,但对比时用小写来比较 On Windows the default value is 1On OS X, the default value is 2. Y 阅读全文
摘要:
mysql 5.7.8开始 max_execution_time applies to read-only SELECT statements. mysql> show variables like 'max_execution_time'; + + +| Variable_name | Value 阅读全文