MySQL licensing and GPL

George picture George · Mar 6, 2009 · Viewed 13.6k times · Source

As far as I know, when I build a desktop/server app using any GPL code like MySQL I will have to release the source code of my software under the GPL.

If I want to develop a web-app using MySQL, my code will link against the MySQL libraries. Must I release the sourcecode of my webapp in this situation to be in accordance with the GPL?

Answer

luiscubal picture luiscubal · Mar 6, 2009

Provided that you keep it server-only(and therefore "private"), you don't have to release it as GPL. But as soon as it reaches public desktops, it can no longer be considered an internal build, and therefore source code is needed.

So you can:

  • Release your code as GPL
  • Buy the commercial version of MySQL
  • Keep it server-only.