<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[MySQL 5.6 中 TIMESTAMP 的变化:[Warning] TIMESTAMP with implicit DEFAULT value is。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[数据库技术]]></category>
<pubDate>Wed, 01 Oct 2014 03:24:39 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	查看mysql启动日志:<br/>2014-10-01 11:08:45 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).<br/>这是数据库升级过程中，timestamp在5.6以前的数据库中默认not null，如果没有显示声明timestamp的默认值，那么该列用全0的”0000-00-00 00:00:00″作为默认值<br/><br/><textarea name="code" class="php" rows="15" cols="100">
关闭警告，在my.cnf中加入
[mysqld]
explicit_defaults_for_timestamp=true
</textarea><br/><br/>加上还是会报这个问题，听说有一个坑，于是查了一下，这个Url有点用：http://cuelog.com/archives/4.html<br/>如果初始化时出现<br/>1&nbsp;&nbsp;[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).<br/><br/>在mysql的安装根目录下生成的my.cnf中加入：<br/>2&nbsp;&nbsp;explicit_defaults_for_timestamp = true<br/><br/>还是报错，按mysql提示的执行下面的mysql启动命令：<br/>按mysql的说明，接下来是执行：<br/>3&nbsp;&nbsp;./bin/mysqld_safe --user=mysql --explicit_defaults_for_timestamp=1 &amp;<br/><br/>——————————————————————————————————————————————<br/>来自：<br/>http://www.kankanews.com/ICkengine/archives/110105.shtml<br/>http://www.williamsang.com/archives/818.html
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] MySQL 5.6 中 TIMESTAMP 的变化:[Warning] TIMESTAMP with implicit DEFAULT value is。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>