<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.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://www.jackxiang.com/post//</link>
<title><![CDATA[Mysql无法建或者修改为InnoDB引擎存储的问题]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Fri, 13 Feb 2009 03:42:57 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	发现我的MYSQL无法建立innodb表了，显象是在Create Table 语句中指定了ENGINE=INNODB 但是表建完后发现有一个warning信息，使用show warnings &#92;G查看发现，Mysql提示使用Myisam建立表。然后使用 Show Variables like '%innodb%' 查看发现have_innodb 的值为Disable这表明不能建立innodb表。<br/><br/>Step 1. Stop MySQL service<br/>Step 2:打开my.ini 找到 skip-innodb 并在其前加'#'号<br/>Step 3: Restart MySQL service<br/>问题解决。<br/><br/>做记录的时候要修改为innodb来存储：<br/>ALTER TABLE `ac_follow` ENGINE = INNODB <br/>但是没有修改成功：<br/>对比了一下：show variables;或者：Show Variables like '%innodb%'<br/>发现：have_innodb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#124; DISABLED&nbsp;&nbsp;<br/>修改：have_innodb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#124; YES&nbsp;&nbsp; <br/>把table_type的默认值MYISAM改为INNODB：<br/><br/>&nbsp;&nbsp;[mysqld]&nbsp;&nbsp;<br/>&nbsp;&nbsp;basedir=&nbsp;&nbsp;<br/>&nbsp;&nbsp;datadir=&nbsp;&nbsp;<br/>&nbsp;&nbsp;default-table-type=innodb&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;default-table-type=innodb&nbsp;&nbsp; 就是你所要加的..<br/><br/>即可！ <br/>啰嗦几句，如果你是默认在linux安装的包装的mysql或者apache，my.ini 和php.ini它的目录为：<br/>默认：<br/><br/>httpd.conf 在/etc/httpd/conf<br/><br/>my.cnf 在/etc<br/><br/>php.ini 在/usr/local/lib<br/><br/>在Unix上，php.ini文件缺省放在/usr/local/lib上面，因为缺省的存放路径是<install-path> /lib，但是可以在编译的时候使用--with-config-file-path参数来修改php.ini的存放位置，例如你可以使用--with- config-file-path=/etc把它存放到/etc下面，然后可以从源码包中拷贝php.ini-dist到/etc/php.ini并修改使之满足需要。<br/><br/>Windows上面php.ini的缺省位置是windows系统目录，如果使用了Apache的话，那么将首先从 Apache的安装目录中查找 php.ini，例如：c:program filesapache groupapache，这样你可以在同一台机器上面为不同的Apache版本设置不同的php.ini文件。
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] Mysql无法建或者修改为InnoDB引擎存储的问题]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>