需求,有一个配置文件test.conf内容如下 backend www1 server 1 server 2 backend www2 server 3 server 4 add [{'backend':'www1','server':'3'}] change [{'backend':'www1','server':'1'},{'backend':'www1','server':'3'}] delete [{'backend':'www1','server':'1'}] 1,自定义函数实现查询功…
mysql常用快速查询修改操作 一.查找并修改非innodb引擎为innodb引擎 # 通用操作 mysql> select concat('alter table ',table_schema,'.',table_name,' engine=innodb;') from information_schema.tables where table_schema not in ('information_schema','mysql','performance_schema') and engin…