<?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.zhlwish.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhlwish.com</link>
	<description>Where there is a will there is a way.</description>
	<lastBuildDate>Fri, 13 Jan 2012 08:13:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>MySQL中drop user if exists功能的实现方法</title>
		<link>http://www.zhlwish.com/2010/07/30/mysql-drop-user-if-not/</link>
		<comments>http://www.zhlwish.com/2010/07/30/mysql-drop-user-if-not/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 11:48:32 +0000</pubDate>
		<dc:creator>周亮</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.zhlwish.com/?p=218</guid>
		<description><![CDATA[在编写可以重复执行的创建数据库的脚本时，我们知道下面语句可以测试数据库是否存在，如果存在的话就删除掉 1 DROP DATABASE IF EXISTS testdb; 但是我们没办法测试用户是否存在，MySQL是没有drop user if exist这样的功能的。详见：http://bugs.mysql.com/bug.php?id=19166 不过有另外一种变通的办法可以实现同样的功能，代码如下： 1 2 3 4 # a way TO implement the functionality OF 'drop user if exists' which mysql does # NOT support FOR now GRANT usage ON *.* &#8230; <a href="http://www.zhlwish.com/2010/07/30/mysql-drop-user-if-not/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.zhlwish.com/2010/07/30/mysql-drop-user-if-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

