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