1、登录mysql

mysql -uroot -p --prompt=\h~\\cdelimiter //修改默认结束符\T //输出到日志\t