本文介绍了如何将日期添加到mysql错误日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Mysql错误日志旁边只有一个数字,它们的创建时间也是如此,我需要对其进行格式化,使其还包括日期,
Mysql error logs only have a number next to them and the time they were created, I need to format it so that it also includes the date,
我应该怎么做?
130207 2:25:29 [Note] Plugin 'FEDERATED' is disabled.
130207 2:25:29 InnoDB: The InnoDB memory heap is disabled
130207 2:25:29 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
130207 2:25:29 InnoDB: Compressed tables use zlib 1.2.3
130207 2:25:29 InnoDB: Using Linux native AIO
130207 2:25:30 InnoDB: Initializing buffer pool, size = 3.0G
130207 2:25:30 InnoDB: Completed initialization of buffer pool
130207 2:25:30 InnoDB: highest supported file format is Barracuda.
130207 2:25:30 InnoDB: Waiting for the background threads to start
推荐答案
130207不是2013年2月7日吗?
Isn't 130207 the 7th of February 2013 ?
这篇关于如何将日期添加到mysql错误日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!