<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>ITPUB论坛 - MySQL及其它开源数据库</title>
    <link>http://www.itpub.net/forumdisplay.php?fid=73</link>
    <description>Latest 40 threads of MySQL及其它开源数据库</description>
    <copyright>Copyright(C) ITPUB论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Tue, 08 Jul 2008 23:47:14 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.itpub.net/images/logo.gif</url>
      <title>ITPUB论坛</title>
      <link>http://www.itpub.net/</link>
    </image>
    <item>
      <title>mysql连接通道中的字符集和校验规则</title>
      <link>http://www.itpub.net/viewthread.php?tid=1018752</link>
      <description><![CDATA[这里首先需要解释的是，我想应该就是连接通道的含义了。那什么是连接通道呢？
    所谓连接通道，就是客户端和服务器端保持连接的一个通道，它是逻辑上的一个概念。客户端通过连接通道发送sql语句到服务器端，服务端执行，将结果再通过连接通道返回至客户端。the conne ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>ilonng</author>
      <pubDate>Tue, 08 Jul 2008 13:19:31 +0000</pubDate>
    </item>
    <item>
      <title>mysql中有没有类似raise_appliction_error的函数</title>
      <link>http://www.itpub.net/viewthread.php?tid=1018578</link>
      <description><![CDATA[如题]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>新房客</author>
      <pubDate>Tue, 08 Jul 2008 07:35:43 +0000</pubDate>
    </item>
    <item>
      <title>mysql如何返回精确时间？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1018555</link>
      <description><![CDATA[打算在存储过程中测试插入、修改、查询多条数据后的准确时间，使用到了timediff函数，但它只能返回到秒，执行时间较短的返回时间为0，现在想取到秒后的精确时间，如何做到？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Tue, 08 Jul 2008 06:45:55 +0000</pubDate>
    </item>
    <item>
      <title>mysql过程，谁帮我看看呀</title>
      <link>http://www.itpub.net/viewthread.php?tid=1018352</link>
      <description><![CDATA[create procedure en_cv_pro2(
t_v int,
sys_name varchar(20),
sys_id int
)
begin
if t_v=1 then
	update sys_user set sys_name=sys_name where sys_id=sys_id;
end if;
if t_v=2 then
	update sys_user set sys_pwd=sys_name where sys_id=sys_id;
end i ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>dreamloverlc</author>
      <pubDate>Tue, 08 Jul 2008 02:16:54 +0000</pubDate>
    </item>
    <item>
      <title>Lost connection to MySQL server during query?</title>
      <link>http://www.itpub.net/viewthread.php?tid=1018182</link>
      <description><![CDATA[下午多数机器从Navicat for mysql连接不上mysql服务器(有个别机器用此工具连接正常)，之前没出现过些问题。提示如下错误：
Lost connection to MySQL server during query
但到下班时，用此工具连接mysql就没问题，不知道错误原因在哪？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Mon, 07 Jul 2008 13:38:15 +0000</pubDate>
    </item>
    <item>
      <title>关于mysql 配置参数优化方面，有什么好的参考资料 ？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1018042</link>
      <description><![CDATA[比如如何降低cpu的负载 对应调整那些参数 ，降低i/o调整那些参数等等 。]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>season0891</author>
      <pubDate>Mon, 07 Jul 2008 08:24:51 +0000</pubDate>
    </item>
    <item>
      <title>mysql错误：Sort aborted!</title>
      <link>http://www.itpub.net/viewthread.php?tid=1017913</link>
      <description><![CDATA[mysql错误日志中提示：/usr/local/mysql/libexec/mysqld: Sort aborted
是排序缓存的问题还是其他错误？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Mon, 07 Jul 2008 06:35:00 +0000</pubDate>
    </item>
    <item>
      <title>mysql 创建触发器问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1017660</link>
      <description><![CDATA[  这样的写法是错误的，

那我该怎么写才是正确的呢？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>sogel</author>
      <pubDate>Mon, 07 Jul 2008 01:44:38 +0000</pubDate>
    </item>
    <item>
      <title>mysql字符集与校验规则的设置</title>
      <link>http://www.itpub.net/viewthread.php?tid=1017530</link>
      <description><![CDATA[]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>ilonng</author>
      <pubDate>Sun, 06 Jul 2008 11:53:38 +0000</pubDate>
    </item>
    <item>
      <title>mysql中有个字符的字符集和校验规则有地地方不明白</title>
      <link>http://www.itpub.net/viewthread.php?tid=1017494</link>
      <description><![CDATA[A character string literal may have an optional character set introducer and COLLATE clause: 



Examples: 

SELECT 'string';
SELECT _latin1'string';
SELECT _latin1'string' COLLATE latin1_danish_ci;

下面这段就不太理解了
The _charset_name  ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>ilonng</author>
      <pubDate>Sun, 06 Jul 2008 09:17:41 +0000</pubDate>
    </item>
    <item>
      <title>關于事務</title>
      <link>http://www.itpub.net/viewthread.php?tid=1016372</link>
      <description><![CDATA[對repeatable read 和read committed 有點不理解﹗
書上這樣介紹的:
repeatable read可以看到新插入的記錄
read committed 可以看到新插入的記錄和已經提交的更新(既然都已經提交了﹐自然就可以看的到啊)

功底不夠﹐望DX賜教﹗]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>bailiu2002</author>
      <pubDate>Thu, 03 Jul 2008 23:42:00 +0000</pubDate>
    </item>
    <item>
      <title>字符集和校验规则概念小介</title>
      <link>http://www.itpub.net/viewthread.php?tid=1016276</link>
      <description><![CDATA[]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>ilonng</author>
      <pubDate>Thu, 03 Jul 2008 12:36:28 +0000</pubDate>
    </item>
    <item>
      <title>数据库同步问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1015752</link>
      <description><![CDATA[现在需要做如下操作 
当向数据库A中的a表中插入一条数据的时候,用触发器自动将这条数据写入B数据库的b表中.现在问题是插入数据后,触发器自动将A.a表中所有数据连同新增数据都写到B.b中,请高手帮忙提示如何在触发器中添加限制条件. 
触发器代码 

create trigger TSS ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>76ol</author>
      <pubDate>Thu, 03 Jul 2008 01:10:36 +0000</pubDate>
    </item>
    <item>
      <title>请教如何切换主从角色</title>
      <link>http://www.itpub.net/viewthread.php?tid=1015520</link>
      <description><![CDATA[请教一下，我按照指导自己试着做了主从结构在WINDOWS环境下，MYSQL5.1
但是小弟不会做主从角色的切换，网上的高手们也没有细讲，所以想请教一下如何实现？
小弟正在学习中]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>zhiyong_guo</author>
      <pubDate>Wed, 02 Jul 2008 08:45:54 +0000</pubDate>
    </item>
    <item>
      <title>sql mode与 enum 类型</title>
      <link>http://www.itpub.net/viewthread.php?tid=1015483</link>
      <description><![CDATA[]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>yxyup</author>
      <pubDate>Wed, 02 Jul 2008 08:04:30 +0000</pubDate>
    </item>
    <item>
      <title>mysql游标问题？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1015246</link>
      <description><![CDATA[第一次使用mysql的游标，执行下面的存储过程后，只能返回游标中的第一条记录，后面几条取不到，不知为什么？
 会不会是WHILE的判断条件不对？ mysql中没查到类似sql server中的@@fetch_status

CREATE PROCEDURE pr_tableSum()
begin
declare tmpName varchar(100) ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Wed, 02 Jul 2008 03:20:22 +0000</pubDate>
    </item>
    <item>
      <title>【已解决】mysql 分组后，如何在每个组中显示序号？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1014968</link>
      <description><![CDATA[mysql版本：5.0.45
表中不存在auto_increment字段
要求：
比如显示下面的数据：
dep val1 序号
市场部 26 1
市场部 25 2
市场部 24 3
办公室 16 1
办公室 12 2
研发部 19 1
研发部 11 2

这样的sql怎么写呢？？oracle有分析函数，很容易解决。mysql怎么处理 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>liziyu</author>
      <pubDate>Tue, 01 Jul 2008 13:03:55 +0000</pubDate>
    </item>
    <item>
      <title>求一个SQL写法?</title>
      <link>http://www.itpub.net/viewthread.php?tid=1014703</link>
      <description><![CDATA[mysql&gt; desc mailflag;
+-------+----------+------+-----+---------+-------+
| Field | Type     | Null | Key | Default | Extra |
+-------+----------+------+-----+---------+-------+
| id    | int(10)  | YES  | MUL | NULL    |       | 
| email | char .]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>yxyup</author>
      <pubDate>Tue, 01 Jul 2008 06:45:50 +0000</pubDate>
    </item>
    <item>
      <title>insert语句错误？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1014584</link>
      <description><![CDATA[执行下面的插入语句总是报错：
1366-Incorrect string value: 'xD0xC2xBDxA8xCExC4...' for column 'TABLE_SCHEMA' at row 1
是mysql不支持从系统视图中插入数据到普通表中还是其他原因？

insert into tblcount(table_name)
select  concat('''',table_name,'''') ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Tue, 01 Jul 2008 04:31:25 +0000</pubDate>
    </item>
    <item>
      <title>load data infile 需要注意的一些地方</title>
      <link>http://www.itpub.net/viewthread.php?tid=1014203</link>
      <description><![CDATA[Welcome to visit my blog.:) 

]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>yueliangdao0608</author>
      <pubDate>Mon, 30 Jun 2008 09:18:24 +0000</pubDate>
    </item>
    <item>
      <title>mysql如何监测出对表的读写访问速度？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1013979</link>
      <description><![CDATA[库中有几个表的访问量较大，想每隔段时间检查对这几个表的访问量，如何比较准确地获得对这些表的读写访问速度？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Mon, 30 Jun 2008 03:56:33 +0000</pubDate>
    </item>
    <item>
      <title>请教解析SQL问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1013609</link>
      <description><![CDATA[本人刚接触MYSQL不久，在学习的过程中发现如下SQL的一个问题，很是不解，所以在这里请教高手。
(在不考虑SQL执行效率的情况下)：
mysql&gt;  select account.id account_id
    -&gt;  from account account
    -&gt;  where 1=1 and account.id in (
    -&gt; select]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>szhswl_db</author>
      <pubDate>Sun, 29 Jun 2008 07:23:59 +0000</pubDate>
    </item>
    <item>
      <title>请教一个大用户量系统数据库设计问题， XML or数据库</title>
      <link>http://www.itpub.net/viewthread.php?tid=1011758</link>
      <description><![CDATA[数据库：MySQL Cluster
用户量:  100万
特性：
         1）每个用户间的数据是独立管理和存储的
         2）每个用户某一类的数据可能会有大量的数据，比如1万条
         3）需要对部分数据进行排序，索引，编辑，删除
         4）这些数据有些经常访问，有些 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>willwilyang</author>
      <pubDate>Wed, 25 Jun 2008 09:26:53 +0000</pubDate>
    </item>
    <item>
      <title>mysql distinct 出相同的记录</title>
      <link>http://www.itpub.net/viewthread.php?tid=1011470</link>
      <description><![CDATA[select distinct displayname from image.shopsales_item_list_peter 
这条语句跑出来有相同的记录，比如有25条记录


select displayname,count(*) from image.shopsales_item_list_peter group  by displayname
这跑出来就没有相同的记录， displayname 就没有重 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>peterddjj</author>
      <pubDate>Wed, 25 Jun 2008 03:20:50 +0000</pubDate>
    </item>
    <item>
      <title>order by不走索引的原因，为什么呢？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1011438</link>
      <description><![CDATA[order by a.articleid desc，但是articledi是主键有索引的，为什么不走索引，using filesort呢？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>lotus1024</author>
      <pubDate>Wed, 25 Jun 2008 02:40:40 +0000</pubDate>
    </item>
    <item>
      <title>请教一个mysql远程连接问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1011300</link>
      <description><![CDATA[在linux连接的时候，报了如下错误：
]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>lovelinxinru</author>
      <pubDate>Tue, 24 Jun 2008 16:11:39 +0000</pubDate>
    </item>
    <item>
      <title>mysql中并发访问？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1011295</link>
      <description><![CDATA[当用户访问数超过100时，mysql象是进入死锁状态了，这时查看innodb锁：　Innodb_row_lock_waits　＝152，
访问量较大的这个表是innodb表（对其同时做select ,insert,update)，配置文件中如何更好地设置innodb相关参数来处理锁争用？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Tue, 24 Jun 2008 15:42:51 +0000</pubDate>
    </item>
    <item>
      <title>mysql中如何导出指定日期或时间段的日志内容</title>
      <link>http://www.itpub.net/viewthread.php?tid=1011233</link>
      <description><![CDATA[因为日志文件特别大，在mysql中如何导出指定日期或时间段的日志内容]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Tue, 24 Jun 2008 12:30:53 +0000</pubDate>
    </item>
    <item>
      <title>大家在用什么版本的mysql啊</title>
      <link>http://www.itpub.net/viewthread.php?tid=1010667</link>
      <description><![CDATA[大家在用什么版本的mysql啊?]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>堕落的人生</author>
      <pubDate>Mon, 23 Jun 2008 13:13:49 +0000</pubDate>
    </item>
    <item>
      <title>mysql生成多个单行insert的脚本？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1010657</link>
      <description><![CDATA[使用mysqldump -u root - p -c -t  dbanme &gt; /bak/db.sql
生成的脚本中是: insert into tblname (字段1，。。。） values (1,2),(2,3).......
现在想生成单行insert 语句，要如何做？
如insert into tblname values (1,2)
insert into tblname values (2,3)
...... .]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Mon, 23 Jun 2008 12:32:55 +0000</pubDate>
    </item>
    <item>
      <title>Mysql的binlog 问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1010402</link>
      <description><![CDATA[因原来使用 Mysql 5.0的 主从复制，在master做一些基于uuid 之类的操作，导致Slave数据不一致，看文章，了解到5.12 开始，Binlog 可以基于行数据做记录，所以测试Mysql 的binlog 能否支持uuid 值的记录

version                                (windows)
--------- ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>xhtang</author>
      <pubDate>Mon, 23 Jun 2008 05:43:01 +0000</pubDate>
    </item>
    <item>
      <title>装mysql遇到的一些问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1010338</link>
      <description><![CDATA[每次装这些数据库工具，都会遇到很多问题，一般都是连接和端口的问题。


这次安装mysql，我是诚惶诚恐，特地找来网上的安装程序步骤

，亦步亦趋，结果安装显示成功，但mysql服务却启动不了，重新安装一片，服务可以启动啦，开始啦

 1、 开到cmd界面，运行 。。 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>娃哈哈哈哈哈</author>
      <pubDate>Mon, 23 Jun 2008 03:58:37 +0000</pubDate>
    </item>
    <item>
      <title>请教全文搜素问题，大家给看看</title>
      <link>http://www.itpub.net/viewthread.php?tid=1010007</link>
      <description><![CDATA[


各位给看看。]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>yueliangdao0608</author>
      <pubDate>Sun, 22 Jun 2008 05:20:56 +0000</pubDate>
    </item>
    <item>
      <title>来报道，努力学习mysql</title>
      <link>http://www.itpub.net/viewthread.php?tid=1009874</link>
      <description><![CDATA[:try: :try: :try:]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>it01</author>
      <pubDate>Sat, 21 Jun 2008 15:39:32 +0000</pubDate>
    </item>
    <item>
      <title>请教个外连接，一张表里有重复记录的问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1009118</link>
      <description><![CDATA[我想通过a，b两个表中的user_id字段做相等的匹配，然后根据里面的值做count，结果发现数据少了很多

SELECT COUNT(a.USER_ID) AS Sum,b1.USER_ID AS strName, 
           b1.USER_PHOTO AS PhotoSrc,b1.USER_NICKNAME AS strNickname                
FROM (SELECT ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>nw5452</author>
      <pubDate>Fri, 20 Jun 2008 02:34:16 +0000</pubDate>
    </item>
    <item>
      <title>请问下，如下只有4个条件的sql语句怎么优化呢？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1009013</link>
      <description><![CDATA[麻烦老大们帮我看下，如下语句怎么优化？
我的思路是not in和in影响效率，但是in和not in里面是常量，怎么修改成exist和not exist?
调整了where子句的顺序，把articleid换到where的最前面，接着是auditing,接着是classid，然后创建了一个索引（articleid,auditing,cla ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>lotus1024</author>
      <pubDate>Fri, 20 Jun 2008 00:25:59 +0000</pubDate>
    </item>
    <item>
      <title>repair table 问题？</title>
      <link>http://www.itpub.net/viewthread.php?tid=1008822</link>
      <description><![CDATA[有一表，数据量有百万条，执行check table时有错误，运行repair table后有下面提示信息(现已能使用），但不知道还有其他隐含的错误没？
  Table          Op          Msg_type     Msg_text
---------------------------------------------------------------------- ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Thu, 19 Jun 2008 09:52:29 +0000</pubDate>
    </item>
    <item>
      <title>Lost connection to mysql server during query?</title>
      <link>http://www.itpub.net/viewthread.php?tid=1008019</link>
      <description><![CDATA[操作系统： linux As4    mysql版本：5.1.22-rc
使用命令行可以连接mysql，但使用navicat for mysql连接时，总提示上述错误。
已修改my.cnf:
添加skip-name resolve, 
增大wait-timeout,internative-timeout,max_allowed_packet,还是报以上错误，
用此工具连接其他 ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>pzlydg</author>
      <pubDate>Wed, 18 Jun 2008 06:58:30 +0000</pubDate>
    </item>
    <item>
      <title>mysql 备份的小问题，请教大家</title>
      <link>http://www.itpub.net/viewthread.php?tid=1007496</link>
      <description><![CDATA[大家好，在mysql 的/var/lib/mysql目录里有数据库的文件，我只发现了table的文件（frm  MYD  MYI），view 和procedure的却没发现他们的踪影

请问这备份方式怎么备份view 和procedure？ 他们的文件在哪里呢？]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>peterddjj</author>
      <pubDate>Tue, 17 Jun 2008 11:20:14 +0000</pubDate>
    </item>
    <item>
      <title>（基本解决）请指教   乱码问题</title>
      <link>http://www.itpub.net/viewthread.php?tid=1007394</link>
      <description><![CDATA[用的是Mysql5.0

我刚开始建库的时候，有gb2312为默认编码。  之前都好用的，最近改成了大小写敏感后，表的数据在客户端去看变乱码了（中文乱码）。

ALTER TABLE `aa`.`aa` MODIFY COLUMN `cc` VARCHAR(45) BINARY CHARACTER SET gb2312 COLLATE gb2312_bin NOT NU ...]]></description>
      <category>MySQL及其它开源数据库</category>
      <author>wdx-snail</author>
      <pubDate>Tue, 17 Jun 2008 08:25:51 +0000</pubDate>
    </item>
  </channel>
</rss>