<?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>wd and cc &#187; mysql</title>
	<atom:link href="http://wdicc.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://wdicc.com</link>
	<description>Happy every day...</description>
	<lastBuildDate>Wed, 01 Feb 2012 03:27:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Blog 做了一下迁移</title>
		<link>http://wdicc.com/move-blog-to-paangood/</link>
		<comments>http://wdicc.com/move-blog-to-paangood/#comments</comments>
		<pubDate>Sat, 28 Jul 2007 02:13:16 +0000</pubDate>
		<dc:creator>wd</dc:creator>
				<category><![CDATA[Heart]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cc]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[乱码]]></category>
		<category><![CDATA[博邻]]></category>

		<guid isPermaLink="false">http://blog.wdicc.com/wordpress/move-blog-to-paangood/</guid>
		<description><![CDATA[因为要从这边离职了，不能蹭公司的服务器了，所以得找个新的地方。看来看去，dreamhost肯定是很爽的，可是也太贵了，咱现在还没这个资本去买这个空间，后来还是买了盘古的空间了。150一年，100M空间。不过北京网通访问起来速度不是很快。凑合用了，反正也就100多块钱。而刚好我在博邻的奖金也是150.。。。这就给这边花了，呵呵。老婆还说奖金可以去吃好多顿火锅呢，看来没戏了，哈哈。 我原来的数据库用的是　mysql 4.1.x ，新的是 4.0.x ，版本看起来差别不大，可是变化挺大。4.1支持每个库，每个表设置 charset，4.0还没有。4.0导入4.1好多人都乱码了。我从4.1 导入 4.0 开始也乱码了。后来搜了一下，找到一个方法，4.1 的mysqldump 有个 compactable 选项，指定是 mysql40 就行了。现在 phpmyadmin 里面看，中文也正常了。 迁移的时候顺手就换了一个 theme，弄了一天才弄好。不太喜欢这种用ftp上传的方法，都习惯用vim直接编辑文件了，本地没有环境，只能修改一下上传一次。盘古的ftp发呆时间还比较短，隔一会就得重新连接一下。感觉好墨迹。 老婆这几天一定要我写写她，可是写什么呢，她一天到晚都呆在家里，我觉得都要发霉了，让她去晒晒太阳好茁壮成长都懒得去，没办法。不过前几天她突发奇想写了一首改编自《小白兔，白又白》那个儿歌的儿歌，我贴到水木上面，加了好多个x，还是被不可re了，就看到有人发了一个帖子说“我靠，那个儿歌太x了。。。”，不过此文也被立刻删掉啦。不能re了肯定上不了十大了，也挺郁闷的，呵呵。]]></description>
			<content:encoded><![CDATA[<p>因为要从这边离职了，不能蹭公司的服务器了，所以得找个新的地方。看来看去，dreamhost肯定是很爽的，可是也太贵了，咱现在还没这个资本去买这个空间，后来还是买了盘古的空间了。150一年，100M空间。不过北京网通访问起来速度不是很快。凑合用了，反正也就100多块钱。而刚好我在<a href="http://blog.wdicc.com/wordpress/about-mycity/">博邻</a>的奖金也是150.。。。这就给这边花了，呵呵。老婆还说奖金可以去吃好多顿火锅呢，看来没戏了，哈哈。</p>
<p>我原来的数据库用的是　mysql 4.1.x ，新的是 4.0.x ，版本看起来差别不大，可是变化挺大。4.1支持每个库，每个表设置  charset，4.0还没有。4.0导入4.1好多人都乱码了。我从4.1 导入 4.0 开始也乱码了。后来搜了一下，找到一个方法，4.1 的mysqldump  有个 compactable 选项，指定是 mysql40 就行了。现在 phpmyadmin 里面看，中文也正常了。</p>
<p>迁移的时候顺手就换了一个  theme，弄了一天才弄好。不太喜欢这种用ftp上传的方法，都习惯用vim直接编辑文件了，本地没有环境，只能修改一下上传一次。盘古的ftp发呆时间还比较短，隔一会就得重新连接一下。感觉好墨迹。</p>
<p>老婆这几天一定要我写写她，可是写什么呢，她一天到晚都呆在家里，我觉得都要发霉了，让她去晒晒太阳好茁壮成长都懒得去，没办法。不过前几天她突发奇想写了一首改编自《小白兔，白又白》那个儿歌的儿歌，我贴到水木上面，加了好多个x，还是被不可re了，就看到有人发了一个帖子说“我靠，那个儿歌太x了。。。”，不过此文也被立刻删掉啦。不能re了肯定上不了十大了，也挺郁闷的，呵呵。</p>
]]></content:encoded>
			<wfw:commentRss>http://wdicc.com/move-blog-to-paangood/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>mysql安装</title>
		<link>http://wdicc.com/install-mysql-2/</link>
		<comments>http://wdicc.com/install-mysql-2/#comments</comments>
		<pubDate>Sat, 05 Aug 2006 08:22:11 +0000</pubDate>
		<dc:creator>wd</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.wdicc.com/wordpress/2006/08/05/212/</guid>
		<description><![CDATA[1 download mysql5.0 2 shell> groupadd mysql shell> useradd -g mysql mysql shell> cd /usr/local shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz &#124; tar xvf - shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql shell> cd mysql shell> scripts/mysql_install_db &#8211;user=mysql 如下提示信息: Installing all prepared tables Fill help tables To start mysqld at boot time you have to copy support-files/mysql.server to the [...]]]></description>
			<content:encoded><![CDATA[<p>1 download mysql5.0<br />
2<br />
shell> groupadd mysql<br />
shell> useradd -g mysql mysql<br />
shell> cd /usr/local<br />
shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -<br />
shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql<br />
shell> cd mysql<br />
shell> scripts/mysql_install_db &#8211;user=mysql<br />
<span id="more-212"></span><br />
如下提示信息:</p>
<p>Installing all prepared tables<br />
Fill help tables</p>
<p>To start mysqld at boot time you have to copy support-files/mysql.server<br />
to the right place for your system</p>
<p>PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !<br />
To do so, start the server, then issue the following commands:<br />
./bin/mysqladmin -u root password &#8216;new-password&#8217;<br />
./bin/mysqladmin -u root -h czhand password &#8216;new-password&#8217;<br />
See the manual for more instructions.</p>
<p>You can start the MySQL daemon with:<br />
cd . ; ./bin/mysqld_safe &#038;</p>
<p>You can test the MySQL daemon with the benchmarks in the &#8216;sql-bench&#8217; directory:<br />
cd sql-bench ; perl run-all-tests</p>
<p>Please report any problems with the ./bin/mysqlbug script!</p>
<p>The latest information about MySQL is available on the web at</p>
<p>http://www.mysql.com</p>
<p>Support MySQL by buying support/licenses at https://order.mysql.com</p>
<p>shell> chown -R root  .<br />
shell> chown -R mysql data<br />
shell> chgrp -R mysql .</p>
<p>/home/my.cnf</p>
<p>basedir=/usr/local/mysql<br />
datadir=/usr/local/mysql/data<br />
socket=/usr/local/mysql/data/mysql.sock<br />
#err-log=/var/log/mysqld.log<br />
pid-file=/usr/local/mysql/data/mysqld.pid</p>
<p>shell> bin/mysqld_safe &#8211;user=mysql &#038;</p>
<p>事实上，mysql.sock放到data目录是会出现问题的，因为data目录只有mysql用户可读，用php连接数据库的时候就会出现问题。所以，上面的最好修改一下。</p>
]]></content:encoded>
			<wfw:commentRss>http://wdicc.com/install-mysql-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql 安装</title>
		<link>http://wdicc.com/install-mysql/</link>
		<comments>http://wdicc.com/install-mysql/#comments</comments>
		<pubDate>Tue, 09 May 2006 11:23:45 +0000</pubDate>
		<dc:creator>wd</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.wdicc.com/?p=154</guid>
		<description><![CDATA[下面的内容大部分来自mysql的readme 1 download mysql5.0 2 shell&#62; groupadd mysql shell&#62; useradd -g mysql mysql shell&#62; cd /usr/local shell&#62; gunzip &#60; /PATH/TO/MYSQL-VERSION-OS.tar.gz &#124; tar xvf - shell&#62; ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql shell&#62; cd mysql shell&#62; scripts/mysql_install_db &#8211;user=mysql 如下提示信息: Installing all prepared tables Fill help tables To start mysqld at boot time you have to copy support-files/mysql.server to [...]]]></description>
			<content:encoded><![CDATA[<p>下面的内容大部分来自mysql的readme</p>
<p>1 download mysql5.0<br />
2<br />
shell&gt; groupadd mysql<br />
shell&gt; useradd -g mysql mysql<br />
shell&gt; cd /usr/local<br />
shell&gt; gunzip &lt; /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -<br />
shell&gt; ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql<br />
shell&gt; cd mysql<br />
shell&gt; scripts/mysql_install_db &#8211;user=mysql</p>
<p>如下提示信息:</p>
<p>Installing all prepared tables<br />
Fill help tables</p>
<p>To start mysqld at boot time you have to copy support-files/mysql.server<br />
to the right place for your system</p>
<p>PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !<br />
To do so, start the server, then issue the following commands:<br />
./bin/mysqladmin -u root password &#8216;new-password&#8217;<br />
./bin/mysqladmin -u root -h czhand password &#8216;new-password&#8217;<br />
See the manual for more instructions.</p>
<p>You can start the MySQL daemon with:<br />
cd . ; ./bin/mysqld_safe &amp;</p>
<p>You can test the MySQL daemon with the benchmarks in the &#8216;sql-bench&#8217; directory:<br />
cd sql-bench ; perl run-all-tests</p>
<p>Please report any problems with the ./bin/mysqlbug script!</p>
<p>The latest information about MySQL is available on the web at</p>
<p>http://www.mysql.com</p>
<p>Support MySQL by buying support/licenses at https://order.mysql.com</p>
<p>shell&gt; chown -R root  .<br />
shell&gt; chown -R mysql data<br />
shell&gt; chgrp -R mysql .</p>
<p>/home/my.cnf</p>
<p>basedir=/usr/local/mysql<br />
datadir=/usr/local/mysql/data<br />
socket=/usr/local/mysql/data/mysql.sock<br />
#err-log=/var/log/mysqld.log<br />
pid-file=/usr/local/mysql/data/mysqld.pid</p>
<p>shell&gt; bin/mysqld_safe &#8211;user=mysql &amp;</p>
]]></content:encoded>
			<wfw:commentRss>http://wdicc.com/install-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

