60bf3d
MySQL is distributed under GPL v2, but there are some licensing exceptions
60bf3d
that allow the client libraries to be linked with a non-GPL application,
60bf3d
so long as the application is under a license approved by Oracle.
60bf3d
For details see
60bf3d
60bf3d
http://www.mysql.com/about/legal/licensing/foss-exception/
60bf3d
60bf3d
Some innobase code from Percona and Google is under BSD license.
60bf3d
Some code related to test-suite is under LGPLv2.