摘要:
1、全局参数 GLobal 可修改 不可修改 2、会话参数 session 可修改 不可修改 部分参数是可以在线修改的,但是在线修改的参数重启后会消失。只有在配置文件中写入的才能长期存在 查看参数 show variables show variables like '%time%' 设置全局参数 阅读全文
摘要:
条件语句if条件判断语法结构 if search_condition then statement_list [elseif search_condition then statement_list] ... [else statement_list] end if; case结构 语法结构 : 方 阅读全文
摘要:
一、手写SQL顺序 select <select_list> from <table_name> <join_type> join <join_table> on <join_condition> where <where_condition> group by <group_by_list> ha 阅读全文
摘要:
-- 查看 哪张表被锁 show OPEN TABLES where In_use > 0 show open tables from wdgjyun_daerwei; -- 查询所有进行的线程,包括线程的状态,是否锁表等。 show full processlist select * from i 阅读全文