<?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>记录与PHP的PK经历 &#187; mysql</title>
	<atom:link href="http://www.pkphp.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pkphp.com</link>
	<description>PK with php!</description>
	<lastBuildDate>Sat, 21 Aug 2010 16:56:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>终于知道wordpress越来越慢的原因（一）</title>
		<link>http://www.pkphp.com/2008/10/05/why-wordpress-so-slow/</link>
		<comments>http://www.pkphp.com/2008/10/05/why-wordpress-so-slow/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 12:49:46 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldumpslow]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[慢速]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=731</guid>
		<description><![CDATA[最近服务器速度越来越慢，有时候服务器负载经常到达十几甚至看到过二十。博客打开的速度也慢了起来，今天花...]]></description>
		<wfw:commentRss>http://www.pkphp.com/2008/10/05/why-wordpress-so-slow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>mysql慢速(slow log)脚本分析</title>
		<link>http://www.pkphp.com/2008/10/04/mysql-slow-log/</link>
		<comments>http://www.pkphp.com/2008/10/04/mysql-slow-log/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 12:34:11 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[mysqldumpslow]]></category>
		<category><![CDATA[slow]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=724</guid>
		<description><![CDATA[mysql有一个功能就是可以log下来运行的比较慢的sql语句，默认是没有这个log的，为了开启这个功能，
要修改...]]></description>
		<wfw:commentRss>http://www.pkphp.com/2008/10/04/mysql-slow-log/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL中设置自增字段</title>
		<link>http://www.pkphp.com/2008/08/16/mysql%e4%b8%ad%e8%ae%be%e7%bd%ae%e8%87%aa%e5%a2%9e%e5%ad%97%e6%ae%b5/</link>
		<comments>http://www.pkphp.com/2008/08/16/mysql%e4%b8%ad%e8%ae%be%e7%bd%ae%e8%87%aa%e5%a2%9e%e5%ad%97%e6%ae%b5/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 05:56:16 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[auto_increment]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=518</guid>
		<description><![CDATA[MySQL中设置自增字段

alter table album change ALBUM_ID ALBUM_ID bigint not null auto_increment;
alter table album auto_increment=1;

创建:
mysql>create table cc(id int auto_increment,name varchar(20),primary key(id));
修改:
mysql> alter table cc change id id int primary key auto_increment;
...]]></description>
		<wfw:commentRss>http://www.pkphp.com/2008/08/16/mysql%e4%b8%ad%e8%ae%be%e7%bd%ae%e8%87%aa%e5%a2%9e%e5%ad%97%e6%ae%b5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>mysql优化脚本！</title>
		<link>http://www.pkphp.com/2008/08/16/mysql-optimization-script/</link>
		<comments>http://www.pkphp.com/2008/08/16/mysql-optimization-script/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 04:45:42 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[优化]]></category>
		<category><![CDATA[脚本]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=515</guid>
		<description><![CDATA[[mysqld]
#port = 3306
#socket = /tmp/mysql.sock
#socket = /var/lib/mysql/mysql.sock
#skip-locking
key_buffer = 128M
max_allowed_packet = 1M
table_cache = 256
sort_buffer_size = 1M
net_buffer_length = 16K
myisam_sort_buffer_size = 1M
max_connections=120
#addnew config
wait_timeout =120...]]></description>
		<wfw:commentRss>http://www.pkphp.com/2008/08/16/mysql-optimization-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu下安装 apache+php+mysql文本服务器！</title>
		<link>http://www.pkphp.com/2008/08/11/ubuntu%e4%b8%8b%e5%ae%89%e8%a3%85-apachephpmysql%e6%96%87%e6%9c%ac%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%81/</link>
		<comments>http://www.pkphp.com/2008/08/11/ubuntu%e4%b8%8b%e5%ae%89%e8%a3%85-apachephpmysql%e6%96%87%e6%9c%ac%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%81/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 10:33:52 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[服务器]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=495</guid>
		<description><![CDATA[ubuntu实在是太牛了，很简单的方法就安装完毕web服务器，只需要按顺序执行以下命令即可：
Once again, here&#8217;s my updated simple installation of Apache, PHP and MySQL in Ubuntu 8.04 LTS (Hardy Heron) Server.
Install SSH Client and Server (for my remote access)
sudo apt-get install ssh

Install Database Server
sudo apt-get install mysql-server-5.0

Install Apache HTTP Server
sudo apt-get install apache2

Install PHP5 and Apache PHP5 module
sudo apt-get install php5 libapache2-mod-php5

Restart Apache
sudo /etc/init.d/apache2 restart

Optionally, install phpMyAdmin
sudo [...]]]></description>
		<wfw:commentRss>http://www.pkphp.com/2008/08/11/ubuntu%e4%b8%8b%e5%ae%89%e8%a3%85-apachephpmysql%e6%96%87%e6%9c%ac%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%81/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>mysql随机查询输出数据语句</title>
		<link>http://www.pkphp.com/2008/07/28/mysql%e9%9a%8f%e6%9c%ba%e6%9f%a5%e8%af%a2%e8%be%93%e5%87%ba%e6%95%b0%e6%8d%ae%e8%af%ad%e5%8f%a5/</link>
		<comments>http://www.pkphp.com/2008/07/28/mysql%e9%9a%8f%e6%9c%ba%e6%9f%a5%e8%af%a2%e8%be%93%e5%87%ba%e6%95%b0%e6%8d%ae%e8%af%ad%e5%8f%a5/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 14:49:20 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[数据]]></category>
		<category><![CDATA[查询]]></category>
		<category><![CDATA[随机]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=362</guid>
		<description><![CDATA[原来以为mysql没有随机输出数据的方法呢，google后还是搜索到了结果，代码如下：
select * from tablename order by rand() limit 10
]]></description>
		<wfw:commentRss>http://www.pkphp.com/2008/07/28/mysql%e9%9a%8f%e6%9c%ba%e6%9f%a5%e8%af%a2%e8%be%93%e5%87%ba%e6%95%b0%e6%8d%ae%e8%af%ad%e5%8f%a5/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>linux下mysql自动远程备份</title>
		<link>http://www.pkphp.com/2008/07/01/linux%e4%b8%8bmysql%e8%87%aa%e5%8a%a8%e8%bf%9c%e7%a8%8b%e5%a4%87%e4%bb%bd/</link>
		<comments>http://www.pkphp.com/2008/07/01/linux%e4%b8%8bmysql%e8%87%aa%e5%8a%a8%e8%bf%9c%e7%a8%8b%e5%a4%87%e4%bb%bd/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 12:35:35 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[备份]]></category>
		<category><![CDATA[自动]]></category>
		<category><![CDATA[远程]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=119</guid>
		<description><![CDATA[今天有朋友问我有没有最简单的mysql备份的方法，所以想到以前的mysql都是通过的手工备份或者是备份到服务器本地，如果该台服务器over的话，后果就很麻烦了（我是说万一，呵呵，没有那么幸灾乐祸），写了个自动备份的脚本，目的是备份后将备份文件以ftp或者发邮件的形式保存到远程服务器,这里，用邮件的方式发送备份脚本到指...]]></description>
		<wfw:commentRss>http://www.pkphp.com/2008/07/01/linux%e4%b8%8bmysql%e8%87%aa%e5%8a%a8%e8%bf%9c%e7%a8%8b%e5%a4%87%e4%bb%bd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
