Chinaunix
标题:
如何能正常显示mysql_history
[打印本页]
作者:
daming31
时间:
2016-03-30 18:02
标题:
如何能正常显示mysql_history
# tail -f .mysql_history
stop\040slave;
show\040slave\040status\040\134G
start\040slave;
show\040slave\040status\040\134G
stop\040slave\040sql_thread;
set\040global\040sql_slave_skip_counter=1;
里面的空格或者回车都被类似于\040这样的编码取代。大家有什么办法没,能让它正常显示。除了用sed进行字符替换。
谢谢兄弟姐妹们了。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2