---
title: "mysql的双重许可"
author: "无明"
date: "2007-03-05T01:01:12Z"
tags: []
categories: ["非技术"]
slug: "mysql"
draft: false
lastmod: "2007-03-05T01:01:12Z"
id: 57269
url: "https://javaite.iteye.com/blog/57269"
---

今天在cu逛了逛，看到一个有意思的帖子：

[http://www.chinaunix.net/jh/17/814671.html](http://www.chinaunix.net/jh/17/814671.html)

也就是mysql的双重许可问题。以前我一直以为mysql是基于GPL发布的，只是象Redhat那样卖服务，不过从这个帖子看似乎不是那么回事：关键是，如果你的程序是商业应用，那么要么选择把你的程序也遵循GPL发布，要么就要向mysql购买商业许可。

上mysql的网站看了看，[http://www.mysql.com/company/legal/licensing/commercial-license.html](http://www.mysql.com/company/legal/licensing/commercial-license.html)

其中有这么一段：

Specifically:

If you include the MySQL server with an application that is not licensed under the GPL or GPL-compatible license, you need a commercial license for the MySQL server.

If you develop and distribute a commercial application and as part of utilizing your application, the end-user must download a copy of MySQL; for each derivative work, you (or, in some cases, your end-user) need a commercial license for the MySQL server and/or MySQL client libraries.

要是这么算的话，mysql用来做商业应用可不是好选择——除非愿意购买它的商业许可。

另外，还有一件事就是mysql似乎不打算再释出二进制安装版本（传闻挺多，官方网站上也言辞闪烁，但有一点可以肯定，更新速度会大大慢于商业版本），虽然自己可以编译安装，但总觉得怪怪的，让人觉得mysql靠扛着开源大旗发家后，开始打背叛革命的主意，一心搂钱了。