<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>MySQL on 我的乐与怒</title>
    <link>/tags/mysql/</link>
    <description>Recent content in MySQL on 我的乐与怒</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 03 May 2015 08:36:00 +0000</lastBuildDate><atom:link href="/tags/mysql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>MySQL Featured</title>
      <link>/post/2015-05-03-mysql-featured/</link>
      <pubDate>Sun, 03 May 2015 08:36:00 +0000</pubDate>
      
      <guid>/post/2015-05-03-mysql-featured/</guid>
      <description>今天又经历了一起MYSQL错误，系统日志中是“服务 mysql 意外停止” Mysql日志中则是：“Plugin &amp;lsquo;FEDERATED&amp;rsquo; is disabled” 网站找到第一条解决方案： 1、在MY.INI文件中的 [mysqld] 中增加一行 tmpdir=&amp;quot;D:/MySQL/data/&amp;quot; 修改后，还是启动不了，接着我做了第二步，重启正常。 2、删除DATA目录下除数据库文件夹外的其他文</description>
    </item>
    
    <item>
      <title>MySQL和MSSQL 查询比较</title>
      <link>/post/2015-05-03-mysql-mssql-compare/</link>
      <pubDate>Sun, 03 May 2015 08:36:00 +0000</pubDate>
      
      <guid>/post/2015-05-03-mysql-mssql-compare/</guid>
      <description>Current Date and Time MS: SELECT GETDATE() MY: SELECT NOW() Optionally: Use CURDATE() for the date only.Limiting Results MS: SELECT TOP 10 * FROM table WHERE id = 1 MY: SELECT * FROM table WHERE id = 1 LIMIT 10Date Field Default Value MS: DATETIME DEFAULT GETDATE() MY: DATETIME fields cannot have a default value, i.e. &amp;ldquo;GETDATE()&amp;rdquo; You must use your INSERT statement to specify CURDATE() for the field. Optionally: Use datatype TIMESTAMP DEFAULT CURRENT_TIMESTAMPCharacter Length MS: LEN() MY: CHARACTER_LENGTH() Aliases: CHAR_LENGTH(), LENGTH()Character Replace MS: REPLACE() works case insensitively MY: REPLACE() works case sensitivelyTrim Functions MS: LTRIM() and RTRIM() MY: TRIM()String Concatenation MS: CONCATENATION USING + (Does not automatically cast operands to compatible types) MY: CONCAT(string, string), which accepts two or more arguments. (Automatically casts values into types which can be concatenated)Auto Increment Field Definition MS: tablename_id INT IDENTITY PRIMARY</description>
    </item>
    
    <item>
      <title>MySQL InnoDB表的限制</title>
      <link>/post/2013-03-08-mysql-innerdb-limits/</link>
      <pubDate>Fri, 08 Mar 2013 17:18:00 +0000</pubDate>
      
      <guid>/post/2013-03-08-mysql-innerdb-limits/</guid>
      <description>一个表不能包含超过1000列。 内部最大键长度是3500字节，但MySQL自己限制这个到1024字节。 除了VARCHAR, BLOB和TEXT列，最大行长度稍微小于数据库页的一半。即，最大行长度大约8000字节。LONGBLOB和LONGTEXT列必须小于4GB, 总的行长度，页包括B</description>
    </item>
    
  </channel>
</rss>
