我可以在我的机器上免费使用 MySql 来开发我的应用程序吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/427999/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can I use MySql for free on my machine for developing my application?
提问by Dominik Sandjaja
I have one query related to mysql licensing. I am developing a desktop application for commercial purpose and using mysql community server (5.0) as backend database server. We dont install mysql server and driver from our application installer. If user wants to install our application on his machine then he first needs to install MySql server and driver by themselve and then he can install our application. This is because of GPL license terms.
我有一个与 mysql 许可相关的查询。我正在开发一个用于商业目的的桌面应用程序,并使用 mysql 社区服务器 (5.0) 作为后端数据库服务器。我们不从我们的应用程序安装程序安装 mysql 服务器和驱动程序。如果用户想在他的机器上安装我们的应用程序,那么他首先需要自己安装 MySql 服务器和驱动程序,然后他才能安装我们的应用程序。这是因为 GPL 许可条款。
Now my question is can I use MySql for free on my machine for developing my application or do I need any commercial license for application development?
现在我的问题是我可以在我的机器上免费使用 MySql 来开发我的应用程序还是我需要任何商业许可证来开发应用程序?
As MySql is a freeware, I am using it on my machine for development of my application. Am I doing something wrong? I am confuse about how this GPL license works? I am not able to understand its terms and conditions. I know only one thing is that I cannt ship mysql installer with our product, but about development purpose I have no idea how license works.
由于 MySql 是免费软件,我在我的机器上使用它来开发我的应用程序。难道我做错了什么?我对这个 GPL 许可证的工作方式感到困惑?我无法理解它的条款和条件。我只知道一件事是我不能随我们的产品一起提供 mysql 安装程序,但是关于开发目的,我不知道许可证是如何工作的。
回答by Dominik Sandjaja
The usage of MySQL for development is free. As you are not giving away that product (MySQL), no GPL restrictions apply.
使用 MySQL 进行开发是免费的。由于您不会赠送该产品 (MySQL),因此不适用 GPL 限制。
If you want to distribute MySQL in some form, the licenses apply. See: MySQL commercial license
如果您想以某种形式分发 MySQL,则需要使用许可证。请参阅:MySQL 商业许可证
OEMs (Original Equipment Manufacturers), ISVs (Independent Software Vendors), VARs (Value Added Resellers) and other distributors that combine and distribute commercially licensed software with MySQL software and do not wish to distribute the source code for the commercially licensed software under version 2 of the GNU General Public License (the "GPL") must enter into a commercial license agreement with Oracle.
OEM(原始设备制造商)、ISV(独立软件供应商)、VAR(增值经销商)和其他将商业许可软件与 MySQL 软件结合并分发并且不希望分发第 2 版商业许可软件的源代码的分销商GNU 通用公共许可证(“GPL”)必须与 Oracle 签订商业许可协议。
回答by Sarel Botha
I believe it's always been available under the GPL so you can use it for free anywhere. You can pay for support and you can also pay for the other non-community editions. It does look like the Cluster version is also free. As far as reselling it I'm not sure. You probably have to get the user to download it to their machine when they install it, but I'm not sure. You may be able to distribute it along with your application.
我相信它一直在 GPL 下可用,因此您可以在任何地方免费使用它。您可以为支持付费,也可以为其他非社区版本付费。看起来集群版本也是免费的。至于转售它我不确定。您可能必须让用户在安装时将其下载到他们的机器上,但我不确定。您可以将它与您的应用程序一起分发。
回答by Sarel Botha
Simple explanation of MySQL License (without driver hassle/crude explanation):
MySQL 许可证的简单解释(没有驱动程序的麻烦/粗略的解释):
Case 1:
情况1:
If you are an individual trying to solve your problems then no need to pay license fee.
如果您是个人试图解决您的问题,则无需支付许可费。
Case 2:
案例2:
If you are an individual trying to market your application that requires MySQL then
a) If you plan to release your application free - No license Fee
b) If you plant not to release your app free - License need to be bought at less price
如果您是个人尝试推销需要 MySQL 的应用程序,则
a) 如果您计划免费发布应用程序 - 没有许可费
b) 如果您不打算免费发布您的应用程序 - 需要以较低的价格购买许可
Case 3:
案例3:
If you are a company that uses MySQL
a) internal apps with lot of users using MYSQL server - License required
(because this is believed to make money in terms of savings)
b) external apps - License required
如果您是一家使用 MySQL 的公司
a) 有很多用户使用 MYSQL 服务器的内部应用程序 - 需要许可证
(因为这被认为可以节省资金)
b) 外部应用程序 - 需要许可证
Cheers,
SpiderMan
干杯,
蜘蛛侠
回答by frankodwyer
Using a GPL server doesn't mean you have to put your own application under GPL (any more than every app developed on Linux must be GPLed).
使用 GPL 服务器并不意味着您必须将自己的应用程序置于 GPL 之下(正如在 Linux 上开发的每个应用程序都必须采用 GPL)。
Also, you would certainly be able to distribute mysql along with your application - at minimum, as a separate installer on the CD, or download web page. You just have to make the source (of mysql) available also.
此外,您当然可以将 mysql 与您的应用程序一起分发 - 至少,作为 CD 上的单独安装程序,或下载网页。您只需要使(mysql)源也可用。
But I suspect there is probably no issue putting it in your own installer too, one to check with a lawyer though.
但我怀疑将它放在您自己的安装程序中也可能没有问题,不过可以咨询律师。
回答by frankodwyer
MySQL Is free to download and use. They also have an enterprise version available for subscription purchase and provides you with the database server as well as very nice premium support package and very robust utilities and tools such as Query Analyzer. As well as using it locally on any computer you want to install it on you can also sign up for free shared database servers. I would recommend signing up at: http://www.mysqlforfree.com/They are a new website I found and are taking off, so far I've seen more features with them than any of the other free mysql websites.
MySQL 可以免费下载和使用。他们还有一个企业版可供订阅购买,并为您提供数据库服务器以及非常好的高级支持包和非常强大的实用程序和工具,例如查询分析器。除了在要安装它的任何计算机上本地使用它之外,您还可以注册免费的共享数据库服务器。我建议在以下网址注册:http: //www.mysqlforfree.com/他们是我发现的一个新网站,并且正在起飞,到目前为止,我看到的功能比任何其他免费的 mysql 网站都多。
回答by Turnkey
This is perhaps off-topic but you might want to consider SQLitefor the backend database if it's a single-user desktop application. It doesn't involve running a service and it's free for both development and run-time. Plus you can distribute it with your application.
这可能是题外话,但如果后端数据库是单用户桌面应用程序,您可能需要考虑将SQLite用于后端数据库。它不涉及运行服务,并且对于开发和运行时都是免费的。此外,您可以将它与您的应用程序一起分发。
回答by Ian Devlin
As far as I'm aware, it's fine to use it as a development tool because you are not then reselling it or making money from it.
据我所知,将其用作开发工具是可以的,因为您不会转售它或从中获利。
Where I used to work all our internal and external web sites were using MySql without the need for a licence.
我以前工作的地方,我们所有的内部和外部网站都在使用 MySql,无需许可证。
回答by Joe Phillips
One thing I like about Postgresql over MySQL is that it has a slightly more open licensing policy:
我喜欢 Postgresql 而不是 MySQL 的一件事是它有一个稍微开放的许可政策: