MySQL: Client Techniques
- 
--init-command=nameSQL command to execute when connecting to MySQL server 
 可用于导入数据时,关闭二进制日志
- 
select connection_id(); 
--init-command=name
SQL command to execute when connecting to MySQL server
可用于导入数据时,关闭二进制日志
select connection_id();

