<?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启用对大于4G的数据库的支持]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Wed, 06 Oct 2010 15:44:14 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<br/><div class="code">　　--with-big-tables&nbsp;&nbsp; /启用对大于4G的数据库的支持</div><br/><br/><br/>编译安装mysql4.0.26，为了保证所所有的重要数据全部都在/var分区下，需要手工指定mysql的默认数据库的路径。<br/>　　查看了一下：<br/>　　./configure --help发现里面有个：<br/>　　--datadir=DIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;read-only architecture-independent data [PREFIX/share]<br/>　　--localstatedir=DIR modifiable single-machine data [PREFIX/var]<br/><br/>　　由于数据库默认应该是保存在PREFIX/var下面的，根据上面这个提示，应该是设置<br/>　　--localstatedir这个选项，于是：<br/>　　./configure <br/>　　--localstatedir=/var/mysql <br/>　　--prefix=/usr/local/mysql <br/>　　--with-mysqld-user=mysql&nbsp;&nbsp;/制定mysql的daemon的user<br/>　　--with-big-tables&nbsp;&nbsp; /启用对大于4G的数据库的支持<br/>　　make<br/>　　make install<br/>　　cp support-files/my-medium.cnf /etc/my.cnf<br/>　　bin/mysql_install_db --user=mysql<br/><br/>　　发现/var路径下生成了mysql_db目录，说明指定此参数正确，OK！<br/>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] mysql启用对大于4G的数据库的支持]]></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>