<?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.yaoyingying.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yaoyingying.com</link>
	<description>Wordpress, Drupal 二次开发~</description>
	<lastBuildDate>Wed, 08 Feb 2012 12:54:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>/etc/cron.daily/logrotate:error: error running shared postrotate script for &#8216;/var/log/mysql.log</title>
		<link>http://www.yaoyingying.com/2011/05/23/logrotate-error-on-ubuntu/</link>
		<comments>http://www.yaoyingying.com/2011/05/23/logrotate-error-on-ubuntu/#comments</comments>
		<pubDate>Mon, 23 May 2011 06:49:21 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=1445</guid>
		<description><![CDATA[/etc/cron.daily/logrotate: /usr/bin/mysqladmin: refresh failed; error: &#8216;Access denied; you need the RELOAD privilege for this operation&#8217; error: error running shared postrotate script for &#8216;/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log &#8216; run-parts: /etc/cron.daily/logrotate exited with return code 1 What&#8217;s happening is that after all the mysql backing up and everything is done, ubuntu is trying to use the debian-sys-maint user [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2011/05/23/logrotate-error-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2k3 下 MySQL 1069 错误</title>
		<link>http://www.yaoyingying.com/2011/03/03/windows-2k3-mysql-1069/</link>
		<comments>http://www.yaoyingying.com/2011/03/03/windows-2k3-mysql-1069/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 03:20:44 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[1069]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=1406</guid>
		<description><![CDATA[Windows 2k3 下 MySQL 1069 错误 今天早上，网站挂了，显示不能连接MySQL数据库，我想就是数据库断了，上去启动一下就行了，但是也奇怪，以前从来没断过啊。 在管理工具–服务– MySQL，发现真的停止了，点启动，跳出 1069 错误。 查看MySQL–属性–登陆，看到“登陆身份”选择了”此帐户” 为 ./mysql, 我想我们没有这个用户啊，特的到用户组里去看了一下，确实没有。那这里肯定是不对的了。 这儿可以选择第一项“本地系统用户”，或者更换“此帐户”，选择系统里的帐户。这样，MySQL 就可以启动了。至于这是什么原因造成的，暂时还不清楚。我试来下，不可以在“此帐户”处随便乱写的。困惑ING]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2011/03/03/windows-2k3-mysql-1069/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows2k3配置PHP服务器环境</title>
		<link>http://www.yaoyingying.com/2010/02/24/iis6-php5-mysql5/</link>
		<comments>http://www.yaoyingying.com/2010/02/24/iis6-php5-mysql5/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 11:32:02 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[随便写写]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=769</guid>
		<description><![CDATA[其实感觉一个个下载了安装也挺麻烦的，其实大家都知道PHP，APACHE, MYSQL 之类的软件对其他软件的依赖性都很小，所示我想了个偷懒的方法。 下载Xampp，这是一个很好用的集成环境，体积也很小。 下载了安装到，且安装到 D 盘吧，D:/XAMPP 安装其实就是一个解压的过程，解压完成了会跳出一个 MSDOS 窗口，大多都可以 yes pass，其实我想说的是不用启动那些服务先，因为apache默认的 80 端口已经被 IIS 占用了。所以我想解压完成后 打开 D:/XAMPP 文件夹下 xampp-control.exe 文件，手动去启动一些服务。 首先， apache 是不需要了，把 MYSQL 前面的 Svc 打上钩，将mysql添加到计算机服务里，然后启动mysql。 Filezilla，一个开源的FTP服务器，windows 下的ftp软件基本都要收费，这是个很好的代替品。 其他就暂时不需要了。 接下来打开 D:/XAMPP/PHP 文件下，将该文件夹下的所有 dll 文件复制到 C:\WINDOWS\SYSTEM32 下，如有同名文件存在，覆盖之。 重命名php.ini-dist 为 php.ini，用文本编辑器打开编辑。 查找 register_globals = Off； 打开这个设置为 On。开启全局变量支持功能。 搜索 extension_dir = “./” ,  修改为 “D:/xampp/php/ext”。 查找 [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2010/02/24/iis6-php5-mysql5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>八个有用的WordPress的SQL语句</title>
		<link>http://www.yaoyingying.com/2009/07/24/%e5%85%ab%e4%b8%aa%e6%9c%89%e7%94%a8%e7%9a%84wordpress%e7%9a%84sql%e8%af%ad%e5%8f%a5/</link>
		<comments>http://www.yaoyingying.com/2009/07/24/%e5%85%ab%e4%b8%aa%e6%9c%89%e7%94%a8%e7%9a%84wordpress%e7%9a%84sql%e8%af%ad%e5%8f%a5/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 04:17:40 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[代码人生]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[数据库]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=510</guid>
		<description><![CDATA[在过去的十年中，MySQL已经成为广受欢迎的数据库，而WordPress博客使用的是MySQL数据库，虽然使用插件可以解决一些问题，但 是实现某些特殊任务的时候，在phpMyAdmin中执行SQL语句是最简洁的方法，这里就总结八个有用的WordPress系统的SQL语句，用于解决 一些实际碰到的问题。 1、创建备份数据库 备份数据库是首先要做的事情，只需要通过以下方法就可以简单备份数据库： 登录phpMyAdmin后。选择你的WordPress数据库，然后点击“导出”按钮，选择一种压缩方式（可以使用gzip）并单击“执行”按钮，当浏览器提示是否下载的时候，点“是”，将数据库文件下载到本地。 2、批量删除文章修订 WordPress2.6以后的版本增加了一个Post revisions功能，虽然有点用，但文章修订增加了你数据库的大小，我们可以选择批量删除。 登录phpMyAdmin后执行下面的SQL语句即可批量删除。 DELETE FROM wp_posts WHERE post_type = &#34;revision&#34;; 3、批量删除垃圾评论 一个真实的故事是，我的一个朋友在网上建立了一个博客，有次他花了几天时间外出度假，没有上网，当他回来的时候，登录自己的博客，看到有5000多条评论等待审核，当然，大多数都是垃圾评论，要手动删除这些评论要花大量时间，因此我们可以使用以下办法。 登录phpMyAdmin后执行下面的SQL语句。 DELETE from wp_comments WHERE comment_approved = '0'; 要小心，虽然这种解决方案对于处理数百万的垃圾平邮非常有用，但是也会清除未经批准的评论，因此最好还是安装使用Akismet来对付垃圾评论。 4、修改文章属性 你安装WordPress后，admin账户就创建了，不少人都错误的使用这个帐号来写博客，直到他们认识到，这并不是个人帐号。 解决的方法，每篇文章修改作者属性需要大量的时间，下面的这个SQL语句可以帮你快速完成这个功能。 首先你要找到你正确的用户名，使用下面的SQL语句可以找到你的用户ID号。 SELECT ID, display_name FROM wp_users; 假设这个ID为NEW_AUTHOR_ID，而管理员admin的ID为OLD_AUTHOR_ID，接着，运行下面的SQL语句。 UPDATE wp_posts SET post_author=NEW_AUTHOR_ID WHERE post_author=OLD_AUTHOR_ID; 5、手动重设密码 很多人为了保护自己的博客不被人黑掉，使用了很复杂的密码，这虽然是一件好事，但也经常会发生遗忘管理员密码的事情。 当然，通过电子邮件可以发送给你WordPress重设密码的链接，但如果你无法访问你的邮件地址，那么就只好使用下面的SQL语句来重设你的密码了。 UPDATE wp_users SET user_pass = MD5&#40;'PASSWORD'&#41; WHERE wp_users.user_login [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/07/24/%e5%85%ab%e4%b8%aa%e6%9c%89%e7%94%a8%e7%9a%84wordpress%e7%9a%84sql%e8%af%ad%e5%8f%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhpMyAdmin 错误 &quot;Cannot load mysql extension. Please check your PHP configuration&quot;</title>
		<link>http://www.yaoyingying.com/2009/07/17/cannot-load-mysql-extension-please-check-your-php-configuration/</link>
		<comments>http://www.yaoyingying.com/2009/07/17/cannot-load-mysql-extension-please-check-your-php-configuration/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 10:55:17 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[代码人生]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=470</guid>
		<description><![CDATA[Cannot load mysql extension. Please check your PHP configuration. ;extension=php_mysql.dll   ==&#62;&#62; extension=php_mysql.dll ;extension=php_mysqli.dll  ==&#62;&#62; extension=php_mysqli.dll extension_dir  “”               ==&#62;&#62; extension_dir = “C:\Program Files\PHP” Content of config.inc.php is: &#60;? $cfg['Servers'][1]['host'] = &#8216;localhost&#8217;; $cfg['Servers'][1]['extension'] = &#8216;mysql&#8217;; $cfg['Servers'][1]['connect_type'] = &#8216;tcp&#8217;; $cfg['Servers'][1]['compress'] = false; $cfg['Servers'][1]['auth_type'] = &#8216;config&#8217;; $cfg['Servers'][1]['user'] = &#8216;root&#8217;; $cfg['Servers'][1]['password'] = &#8216;aaaa&#8217;; ?&#62;]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/07/17/cannot-load-mysql-extension-please-check-your-php-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL的1067错误</title>
		<link>http://www.yaoyingying.com/2009/07/17/windows-mysql-error-1067/</link>
		<comments>http://www.yaoyingying.com/2009/07/17/windows-mysql-error-1067/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 10:51:47 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[代码人生]]></category>
		<category><![CDATA[error1067]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=468</guid>
		<description><![CDATA[MySQL的1067错误 我的Mysql碰到了 1067 错误 错误信息为： A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. 在我的机上的解决办法是： 修改 my.ini，设置basedir指向mysql的安装路径 basedir=D:\Program\Tools\mysql datadir=D:\Program\Tools\mysql\data]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/07/17/windows-mysql-error-1067/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL 图形工具 &#8212;- MySQL-Front</title>
		<link>http://www.yaoyingying.com/2009/05/05/mysql-%e5%9b%be%e5%bd%a2%e5%b7%a5%e5%85%b7-mysql-front/</link>
		<comments>http://www.yaoyingying.com/2009/05/05/mysql-%e5%9b%be%e5%bd%a2%e5%b7%a5%e5%85%b7-mysql-front/#comments</comments>
		<pubDate>Wed, 06 May 2009 03:00:16 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[代码人生]]></category>
		<category><![CDATA[HeidiSQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL Front]]></category>
		<category><![CDATA[mysql5]]></category>
		<category><![CDATA[数据库]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=278</guid>
		<description><![CDATA[mysql数据库的可视化图形工具，主要特性包括多文档界面，语法突出，拖拽方式的数据库和表格，可编辑/可增加/删除的域，可编辑/可插入/删除的记录，可显示的成员，可执行的SQL 脚本，提供与外程序接口，保存数据到CSV文件等。 MySQL-Front version 5.1 下载地址 软件截图 : Data Browser Screenshot of MySQL-Front shows an easy to use GUI implementation of a MySQL Table viewing and editingMySQL-Front is a graphical GUI for the MySQL database. Because it is a “real” application, it can offer a more refined user-interface than is possible with systems built on [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/05/05/mysql-%e5%9b%be%e5%bd%a2%e5%b7%a5%e5%85%b7-mysql-front/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL 图形工具 &#8212;- HeidiSQL</title>
		<link>http://www.yaoyingying.com/2009/05/05/mysql-%e5%9b%be%e5%bd%a2%e5%b7%a5%e5%85%b7-heidisql/</link>
		<comments>http://www.yaoyingying.com/2009/05/05/mysql-%e5%9b%be%e5%bd%a2%e5%b7%a5%e5%85%b7-heidisql/#comments</comments>
		<pubDate>Wed, 06 May 2009 02:47:21 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[代码人生]]></category>
		<category><![CDATA[HeidiSQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL Front]]></category>
		<category><![CDATA[数据库]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=276</guid>
		<description><![CDATA[软件语言：英文 软件类别： 国外软件 / 数据库类 应用平台： Win2003/XP/2000/9X/Vista/ HeidiSQL 是一款用于简单化你的 MySQL 服务器和数据库管理的图形化界面。该软件允许你浏览你的数据库，管理表，浏览和编辑记录，管理用户权限等等。此外，你可以从文本文件导入数据，运行 SQL查询，在两个数据库之间同步表以及导出选择的表到其它数据库或者 SQL 脚本当中。HeidiSQL 提供了一个用于在数据库浏览之间切换 SQL 查询和标签带有语法突出显示的简单易用的界面。其它功能包括BLOB 和 MEMO 编辑，大型 SQL 脚本支持，用户进程管理等。该软件资源开放。 下载地址 windows直接下载 这款软件与 MySQL Front 在功能和外观上都十分相像，我以前一直使用 mysql-front，挺不错的一款软件。 软件截图]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/05/05/mysql-%e5%9b%be%e5%bd%a2%e5%b7%a5%e5%85%b7-heidisql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to reset the mySQL admin password</title>
		<link>http://www.yaoyingying.com/2009/03/03/how-to-reset-the-mysql-admin-password/</link>
		<comments>http://www.yaoyingying.com/2009/03/03/how-to-reset-the-mysql-admin-password/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 15:47:28 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[代码人生]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[reset password]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=32</guid>
		<description><![CDATA[怎么重置MYSQL 的管理员密码 在linux 环境下，重置root 密码主要通过以下几个方面： How to reset the mySQL admin password In a Unix environment, the procedure for resetting the root password is as follows: 1. Log on to your system as either the Unix root user or as the same user that the mysqld server runs as. 2. Locate the .pid file that [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/03/03/how-to-reset-the-mysql-admin-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

