![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
ventifact-1
这个作者很懒,什么都没留下…
展开
-
查看linux shell历史操作日志
修改/etc/profile配置文件添加 #history USER_IP=`who-u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'` HISTDIR=/usr/share/.history if [ -z$USER_IP ] then USER_IP=`hostname` fi if [ ! -d$HISTDI...转载 2018-07-12 09:55:30 · 4411 阅读 · 0 评论 -
mysql导入DATETIME字段数据时遇到错误incorrect datetime value '0000-0-0 00:00:00' for column
正确解决方法: mysql insert 有一个时间字段,'0000-00-00 00:00:00'格式为这样。插入的是报错ERROR 1292 (22007): Incorrect datetime value: '0000-00-00 00:00:00' for column 'return_create_time' at row 1mysql允许将’0000-0...转载 2018-07-13 09:34:26 · 15736 阅读 · 0 评论