LicenseGuard

Is mysql-connector-python safe for commercial use?

PyPI package · License: GPL

mysql-connector-python is licensed under GPL. That triggers obligations in 3 of the 5 common shipping models, so whether it is safe for you depends on how you ship. Note that "GPL" does not name a specific version — the stricter reading (GPL-3.0-only) is used below, so confirm the actual version against the project's own LICENSE file.

Can I use mysql-connector-python in SaaS, a distributed app, or internally?

How you ship itResultWhy
Hosted SaaS No obligation GPL-3.0-only triggers its obligations on distribution. Your distribution model is hosted SaaS, which is not distribution, so no obligation arises today. Shipping this software later — on-premises delivery, a binary, or a published library — would trigger whole-work source disclosure.
Distributed binary / app Obligation triggered GPL-3.0-only requires that a work incorporating it, when distributed, be licensed as a whole under the same terms with corresponding source made available. Your distribution model is distributed binary or application, which triggers that obligation.
Delivered to customer Obligation triggered GPL-3.0-only requires that a work incorporating it, when distributed, be licensed as a whole under the same terms with corresponding source made available. Your distribution model is software delivered to a customer environment, which triggers that obligation.
Internal use only No obligation GPL-3.0-only triggers its obligations on distribution. Your distribution model is internal use only, which is not distribution, so no obligation arises today. Shipping this software later — on-premises delivery, a binary, or a published library — would trigger whole-work source disclosure.
Published library Obligation triggered GPL-3.0-only requires that a work incorporating it, when distributed, be licensed as a whole under the same terms with corresponding source made available. Your distribution model is a published library, which triggers that obligation.

What obligations does mysql-connector-python carry?

Source disclosureSame license

If you only use it at build time, the answer changes.

GPL-3.0-only appears as a dev dependency, so it is not part of the artifact you ship. Distribution-triggered obligations do not arise. Tools that emit code into your output, such as code generators, are a separate case worth checking individually.

Questions this page answers

Is mysql-connector-python safe for commercial use?

mysql-connector-python is licensed under GPL. That triggers obligations in 3 of the 5 common shipping models, so whether it is safe for you depends on how you ship. Note that "GPL" does not name a specific version — the stricter reading (GPL-3.0-only) is used below, so confirm the actual version against the project's own LICENSE file.

Can I use mysql-connector-python (GPL) in hosted saas?

GPL-3.0-only triggers its obligations on distribution. Your distribution model is hosted SaaS, which is not distribution, so no obligation arises today. Shipping this software later — on-premises delivery, a binary, or a published library — would trigger whole-work source disclosure.

Can I use mysql-connector-python (GPL) in distributed binary / app?

GPL-3.0-only requires that a work incorporating it, when distributed, be licensed as a whole under the same terms with corresponding source made available. Your distribution model is distributed binary or application, which triggers that obligation.

Can I use mysql-connector-python (GPL) in delivered to customer?

GPL-3.0-only requires that a work incorporating it, when distributed, be licensed as a whole under the same terms with corresponding source made available. Your distribution model is software delivered to a customer environment, which triggers that obligation.

Can I use mysql-connector-python (GPL) in internal use only?

GPL-3.0-only triggers its obligations on distribution. Your distribution model is internal use only, which is not distribution, so no obligation arises today. Shipping this software later — on-premises delivery, a binary, or a published library — would trigger whole-work source disclosure.

Can I use mysql-connector-python (GPL) in published library?

GPL-3.0-only requires that a work incorporating it, when distributed, be licensed as a whole under the same terms with corresponding source made available. Your distribution model is a published library, which triggers that obligation.

Does mysql-connector-python matter if it is only a build-time or dev dependency?

GPL-3.0-only appears as a dev dependency, so it is not part of the artifact you ship. Distribution-triggered obligations do not arise. Tools that emit code into your output, such as code generators, are a separate case worth checking individually.

This page covers one package. Your requirements.txt has many more.

Check your whole manifest →

How was this determined?

The license was read from the PyPI registry, then evaluated against each shipping model. Only the declared license is considered; code copied into a project's own source files is not detected by this method.

License data last reviewed .

LicenseGuard reports information derived from published license texts and dependency manifests. It is not legal advice and using it does not create an attorney-client relationship. Results reflect license metadata as declared; they do not identify every obligation or violation. Consult qualified counsel for decisions that matter.

Listed in the official MCP registry, on Glama and on Smithery. Source on GitHub (Apache-2.0).