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