<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dba | Hessian's Blog</title><link>https://hessian.cn/cat/dba</link><description>Hessian 的技术笔记：Linux、C++、网络与嵌入式</description><language>zh-CN</language><atom:link href="https://hessian.cn/cat/dba/index.xml" rel="self" type="application/rss+xml"/><item><title>怎么打开/查看MySQL的SQL记录？</title><link>https://hessian.cn/p/1018.html</link><pubDate>Fri, 02 Nov 2012 17:13:52 +0800</pubDate><guid>https://hessian.cn/p/1018.html</guid><description>我们在开发的时候经常经常遇到在程序中增加调试语句很麻烦的情况，这时候难免会想如果Mysql能看到我们执行了什么SQL语句就好了。&#10;实际上MySQL是有这个功能的，在MySQL 5.1的时候我们就可以通过mysqld的-l参数来启动mysql来记录查询日志。&#10;</description></item><item><title>合并多个Redis dump.rdb 到一个rdb的多个database</title><link>https://hessian.cn/p/994.html</link><pubDate>Tue, 12 Jun 2012 19:14:39 +0800</pubDate><guid>https://hessian.cn/p/994.html</guid><description>公司的服务器上运行了多个redis，现在希望合并到一个redis，用上redis的多database特性。&#10;在网上找了一圈发现没有比较好的工具可以进行这个处理。&#10;</description></item><item><title>[转]安全警示，一个简单的MongoDB注入</title><link>https://hessian.cn/p/983.html</link><pubDate>Wed, 30 May 2012 10:50:47 +0800</pubDate><guid>https://hessian.cn/p/983.html</guid><description>原文地址：http://blog.nosqlfan.com/html/2336.html&#10; &#10;在关系型数据库时代，SQL注入攻防几乎成了每一个Web开发者的必修课，很多NoSQL的支持者称NoSQL的同时也就No SQL注入了。其实不然，下面就是一个利用GET参数判断不严格进行的MongoDB注入，希望能够引起大家大家在安全方面的重视。&#10;</description></item><item><title>How to sort results in a particular order</title><link>https://hessian.cn/p/537.html</link><pubDate>Wed, 01 Jun 2011 12:50:00 +0800</pubDate><guid>https://hessian.cn/p/537.html</guid><description>A common question on the mailing lists is how to sort results in a particular order. Just use the FIELD function:&#10;SELECT * FROM tickets&#10;ORDER BY FIELD(priority, ‘High’, ‘Normal’, ‘Low’, ‘The Abyss’);&#10;</description></item><item><title>SQL SERVER MultipleActiveResultSets</title><link>https://hessian.cn/p/358.html</link><pubDate>Tue, 17 May 2011 16:49:00 +0800</pubDate><guid>https://hessian.cn/p/358.html</guid><description>最近要写个从SQLSERVER导出数据的程序。 我很少用SQLSERVER，不熟悉，结果写的时候碰上个诡异的问题。&#10;SQLSTATE[IMSSP]: The connection cannot process this operation because there is a statement with pending results. To make the connection available for other queries, either fetch all results or cancel or free the statement. For more information, see the product documentation about the MultipleActiveResultSets connection option.&#10;</description></item><item><title>How to Create SQL Server Connection in SQL Developer</title><link>https://hessian.cn/p/648.html</link><pubDate>Wed, 04 May 2011 15:13:00 +0800</pubDate><guid>https://hessian.cn/p/648.html</guid><description>Menu Help -&gt; Check Updates -&gt; Source -&gt;Third Party SQL Developer Exensions ………….&#10;</description></item><item><title>[转]个人经验总结：MySQL数据库优化技巧集锦</title><link>https://hessian.cn/p/471.html</link><pubDate>Thu, 06 Aug 2009 13:55:00 +0800</pubDate><guid>https://hessian.cn/p/471.html</guid><description>一、我们可以且应该优化什么？ 硬件&#10;操作系统/软件库&#10;SQL服务器(设置和查询)&#10;应用编程接口(API)&#10;</description></item><item><title>数据库多表查询的一个简单例子</title><link>https://hessian.cn/p/559.html</link><pubDate>Fri, 04 May 2007 17:42:00 +0800</pubDate><guid>https://hessian.cn/p/559.html</guid><description>user表 ID NAME VIPlv&#10;01 user 02&#10;这张表用来存储用户信息&#10;VIP表 ID VIPname&#10;01 普通用户&#10;02 黄金用户&#10;这张表用来存储VIP等级的信息&#10;比如我要要这样输出&#10;编号:ID 用户名: 等级:黄金用户&#10;select vip.vipname from user inner join vip on user.viplv=vip.id&#10;</description></item></channel></rss>