<?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启动失败，提示Cant find file: ./mysql/host.frm解决办法]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[数据库技术]]></category>
<pubDate>Sun, 17 Jun 2012 06:59:40 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	虚拟机默认启动Mysql,发现没有启动得了，于是，看了下Mysql的启动日志，如下：<br/><textarea name="code" class="C" rows="15" cols="100">
120617 22:54:57 mysqld_safe Starting mysqld daemon with databases from /data0/data
120617 22:54:57 [Warning] option &#039;innodb-buffer-pool-size&#039;: signed value 2097152 adjusted to 5242880
120617 22:54:57 [Note] Plugin &#039;InnoDB&#039; is disabled.
^G/usr/local/webserver/mysql/bin/mysqld: Can&#039;t find file: &#039;./mysql/plugin.frm&#039; (errno: 13)
120617 22:54:57 [ERROR] Can&#039;t open the mysql.plugin table. Please run mysql_upgrade to create it.
^G/usr/local/webserver/mysql/bin/mysqld: File &#039;/data0/data/slow_query_log/mysql-slow.log&#039; not found (Errcode: 13)

</textarea><br/><br/><br/>解决办法：<br/>这主要是没有权限读取，给个权限就OK了<br/>1： 初始化数据库做了没有？<br/>/usr/local/mysql/bin/mysqld_install_db --user=mysql<br/>2：权限问题<br/>chown -R root.mysql /usr/local/mysql/<br/>chown -R mysql /usr/local.mysql/var/<br/>调整lib库路径：<br/>echo &quot;/usr/local/mysql/lib/mysql&quot; &gt;&gt; /etc/ld.so.conf<br/>重新加载配置<br/>ldconfig<br/>启动mysql<br/>/usr/local/mysql/bin/mysql_safe --user=mysql &amp;<br/>查看是否启动了<br/>netstat -ntpl &#124; grep 3306<br/> 
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] MYSQL启动失败，提示Cant find file: ./mysql/host.frm解决办法]]></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>