News for hackers. Stuff that matters.
Re:MySQL Editions by dangrossman on Thursday November 04, 2010 @04:35AM (#1868171)
MySQL is dual-licensed. If you download the community server, it's GPL licensed. If you want to distribute MySQL as part of your application, then your application may have to be GPL licensed as well, which is often undesirable. ISVs and others that need to distribute MySQL can buy one of the commercial editions to get it under a non-GPL license.

If you're worried about the future, Oracle agreed to maintain the dual-licensing strategy until at least 2015 as part of the EU negotiations before acquiring Sun.

Re:MySQL Editions by candeira on Thursday November 04, 2010 @05:39AM (#1868262)
How exactly does distributing MySQL as part of your application make your application GPL as well? It's not a retorical question, can you please suggest a case? Unless you outright fork MySQL to make your own database, you can run and distribute it with your proprietary stack without being forced to license your code as GPL.

The FSF call it "mere aggregation": http://www.gnu.org/licenses/gpl-faq.html#MereAggregation

Re:MySQL Editions by shpxnvz on Thursday November 04, 2010 @09:05AM (#1868653)
How exactly does distributing MySQL as part of your application make your application GPL as well?

It doesn't. The acceptance of the GPL (as of V2, haven't read V3) for a software component does not compel you to use any particular license for your own work. You can, by distributing the GPL'd work with you own non-open software, be in violation of the license on the GPL'd work, but the repercussion is a loss of the right to distribute the GPL'd work potentially enforced by injunction, and not an automatic change of your own license as the phrase "make your application GPL as well" implies.

Re:MySQL Editions by johnyzee on Thursday November 04, 2010 @06:43AM (#1868349)
Here we go with the amateur legal stuff, but until a more educated comment comes up, as far as I know, it is a question of the drivers being GPL, and coding up against the drivers crosses the threshold.
Re:MySQL Editions by avar on Thursday November 04, 2010 @06:58AM (#1868372)
Not only that, but MySQL AB considered their network protocol to be GPL as well, and went after anyone who tried to make a clean-room implementation of it.

I don't know whether SUN and Oracle still pursue that strategy. Otherwise you could indeed bundle MySQL with some clean-room libraries to talk to the server.

Re:MySQL Editions by loewenskind on Thursday November 04, 2010 @08:06AM (#1868521)
>and went after anyone who tried to make a clean-room implementation of it.

That doesn't sound legal. You're allowed to clean-room implement anything aren't you?

Re:MySQL Editions by avar on Thursday November 04, 2010 @09:11AM (#1868669)
The idea was that their network protocol was an original copyrighted work, and that any clean-room implementation of it would be a derived work.

That does indeed sound crazy, but they also had piles of cash to throw at lawyers to go after anyone who challenged them, and (maybe as a result of that) nobody ever made e.g. a clean-room BSD or LGPL licensed version of the mysql library. So it never made it to court AFAIK.

Re:MySQL Editions by jrockway on Thursday November 04, 2010 @09:26AM (#1868723)
A nice fiction.

The reality is that copyright covers verbatim copying. If you read a book and write a review, the term "derived work" makes English sense, but not legal sense. Similarly, if you read the MySQL code looking for magic words to say to the server to get it to give you data, saying those words is not copyright infringement. It's "learning", not "copying".

If anyone used MySQL, I would write a BSD-licensed API just to prove a point. (And to be non-blocking.) But the world has moved on since the Oracle deal...

Re:MySQL Editions by eru on Thursday November 04, 2010 @11:21AM (#1869241)
> Similarly, if you read the MySQL code looking for magic words to say to the server to get it to give you data, saying those words is not copyright infringement. It's "learning", not "copying".

What would happen, if the protocol would require sending a picture of a picture of Mickey Mouse with each request (or some copy-righted novel)?

Re:MySQL Editions by fragmede on Thursday November 04, 2010 @02:29PM (#1870134)
That's been tested in court before, in Sega v. Accolade (http://en.wikipedia.org/wiki/Sega_v._Accolade). (You had to display a Sega logo before your game could run, so you had to have their logo in your code)

In short, it's fair use.

Re:MySQL Editions by InnocentB on Thursday November 04, 2010 @04:15PM (#1870584)
My understanding from the Wikipedia article you linked is that you just had to have the string SEGA in a specific spot on your ROM, and that the logo was in fact part of the Genesis III BIOS. A four-character string and an image are pretty different, copyright-wise.
Re:MySQL Editions by jrockway on Thursday November 04, 2010 @11:24AM (#1869258)
You publish a benchmark that says how inefficient this makes MySQL, and then that "feature" goes away.
Re:MySQL Editions by eru on Thursday November 04, 2010 @01:02PM (#1869727)
I was more concerned about the copyright repercussions on clean-room reverse engineering the protocol. Obviously the protocol includes copyrightable information, now.
Re:MySQL Editions by jerf on Thursday November 04, 2010 @02:05PM (#1870019)
To the best of my knowledge, the best answer is "nobody knows". There are some vaguely similar things in the precedents, especially when it comes to protocols that require you to use a particular patent to talk to a given device, and IIRC there is some verbiage in some places that distinguishes copying around for simple transmission reasons rather than delivery to an end user (though I can't imagine how to stretch that to cover this case), but in this particular case, nobody knows.

In fact if you spend much time thinking about this it isn't at all hard to come up with a lot of scenarios that law doesn't have an answer for, in theory or in practice.

Re:MySQL Editions by eru on Thursday November 04, 2010 @06:54PM (#1871163)
Thanks!
Re:MySQL Editions by piotrSikora on Thursday November 04, 2010 @10:13AM (#1868931)
That's incorrect, just check libdrizzle.
Re:MySQL Editions by spudlyo on Thursday November 04, 2010 @10:59AM (#1869131)
... a clean room implemented, BSD licensed MySQL client library.

I believe MySQL/Sun used to make a lot of money dual licensing the GPL client library. No longer!

Re:MySQL Editions by mahmud on Thursday November 04, 2010 @09:21AM (#1868700)
Not only, but even reverse engineering of proprietary protocols from packets in transit is legal, IIUC.
Re:MySQL Editions by candeira on Thursday November 04, 2010 @08:27AM (#1868563)
Thanks, your answer is informative enough that I can google for more answers.
Re:MySQL Editions by 9ec4c12949a4f3 on Thursday November 04, 2010 @09:10AM (#1868667)
If my PHP connects to a mysql database on the same host, and I sell that host as a product, I need to release that php code?
Re:MySQL Editions by wtracy on Thursday November 04, 2010 @03:02PM (#1870287)
If the PHP code is hosted on your server, you're not redistributing it, so the GPL doesn't affect you at all.

If you are redistributing it (you ship it to your customers and they deploy it on their servers) I would find a lawyer.