<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>四维映像 &#187; Mysql</title>
	<atom:link href="http://www.i4wei.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.i4wei.com</link>
	<description>The more a man learns, the more he sees his ignorance.</description>
	<lastBuildDate>Tue, 31 Aug 2010 18:51:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>三种方法恢复MySQL密码</title>
		<link>http://www.i4wei.com/2009/07/922/</link>
		<comments>http://www.i4wei.com/2009/07/922/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 03:04:08 +0000</pubDate>
		<dc:creator>i4wei</dc:creator>
				<category><![CDATA[实用技巧]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.i4wei.com/?p=922</guid>
		<description><![CDATA[方法一 MySQL的密码是存储在数据库mysql中的user表中，我们需要在windows 2003下安装一个新的MySQL，然后将这个MySQL中的user表拷贝过来覆盖。 在MySQL的安装目录的 data\mysql\ 目录下有三个user表相关文件 user.frm //user表样式文件 user.MYD //user表数据文件 user.MYI //user表索引文件 将三个都拷贝过来（不过其实如果之前在要恢复的那个MySQL上没有更改过表结构的话，只要拷贝user.MYD就行了） 然后运行 #./etc/rc.d/init.d/mysql stop #./etc/rc.d/init.d/mysql start #mysql -u root -p XXXXXX 现在用windows 2003下的MySQL密码登陆 mysql&#62;use mysql; mysql&#62;update user set Password=PASSWORD(&#8216;xxxxxx&#8217;) where User=&#8217;root&#8217;; 这时候会出错，提示user表只有读权限。这是因为在windows 2003下user.*文件分配的权限是666，拷贝到后权限变成了600。其实正常情况下600是可以运行的，只是这些文件拷过来后的所有者是root，所以会出现权限不够警告，需要使用以下命令 #chown -R mysql:mysql user.* #chmod 600 user.* 重起一下MYSQL后重新进入数据库 mysql&#62;use mysql; mysql&#62;update user set Password=PASSWORD(&#8216;xxxxxx&#8217;) where User=&#8217;root&#8217;; mysql&#62;FLUSH PRIVILEGES; 值得注意的一点是，如果你windows下MySQL如果是默认配置的话，还需要执行以下命令 mysql&#62;delete [...]]]></description>
		<wfw:commentRss>http://www.i4wei.com/2009/07/922/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use MySQL in Java on Windows</title>
		<link>http://www.i4wei.com/2007/04/33/</link>
		<comments>http://www.i4wei.com/2007/04/33/#comments</comments>
		<pubDate>Fri, 20 Apr 2007 01:33:01 +0000</pubDate>
		<dc:creator>i4wei</dc:creator>
				<category><![CDATA[电脑技术]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.i4wei.com/?p=33</guid>
		<description><![CDATA[In order to run MySQL through Java&#8217;s JDBC, you will need the MySQL installation file and the MySQL driver. Both of these are available from the course web site through these links jdk-6-windows-i586.exe mysql-5.0.27-win32.zip mysql-connector-java-5.0.4.zip All represent the latest release versions at the time of writing. These packages are available (in the truly latest versions) [...]]]></description>
		<wfw:commentRss>http://www.i4wei.com/2007/04/33/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache2, SSL, Mysql, PHP and OpenLDAP Installation Guide</title>
		<link>http://www.i4wei.com/2007/01/11/</link>
		<comments>http://www.i4wei.com/2007/01/11/#comments</comments>
		<pubDate>Sun, 14 Jan 2007 03:52:49 +0000</pubDate>
		<dc:creator>i4wei</dc:creator>
				<category><![CDATA[电脑技术]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.i4wei.com/?p=11</guid>
		<description><![CDATA[1. Install Mysql #groupadd mysql #adduser mysql -g mysql -s /nologin #cd mysql-VERSION/ #./configure --prefix=/usr/local/mysql #make &#38;amp;&#38;amp; make install #scripts/mysql_install_db #chown -R root:mysql /usr/local/mysql #chown -R mysql /usr/local/mysql/var #/usr/local/mysql/bin/mysqld_safe --user=mysql #mysql -uroot &#62;use mysql; &#62;update user set password=password('XXX') where user='root'; &#62;flush priviledges; 2. Install Apache #cd apache-VERSION/ #./configure --prefix=/usr/local/apache2 --enable-module=so --enable-ssl --enable-rewrite #make &#38;amp;&#38;amp; make [...]]]></description>
		<wfw:commentRss>http://www.i4wei.com/2007/01/11/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
