How to Install and Uninstall python3-mysql.connector Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "python3-mysql.connector" package

Please follow the guidance below to install python3-mysql.connector on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-mysql.connector

2. Uninstall "python3-mysql.connector" package

In this section, we are going to explain the necessary steps to uninstall python3-mysql.connector on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python3-mysql.connector $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-mysql.connector package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-mysql.connector
Priority: optional
Section: universe/python
Installed-Size: 495
Maintainer: Ubuntu Developers
Original-Maintainer: Sandro Tosi
Architecture: all
Source: mysql-connector-python
Version: 2.0.4-1
Depends: python3:any (>= 3.3.2-2~)
Filename: pool/universe/m/mysql-connector-python/python3-mysql.connector_2.0.4-1_all.deb
Size: 86944
MD5sum: 45735bd0c3b7fd50b2c1fa87d21a02e3
SHA1: ec53fba0ced414fcdbcf6a7cc1e19de448d43be1
SHA256: 965adc5c6a9ec6ef0fbe0d825c45c1b3ab2585cc3d30cc4e9d242b23b790543a
Description-en: pure Python implementation of MySQL Client/Server protocol (Python3)
MySQL driver written in Python which does not depend on MySQL C client
libraries and implements the DB API v2.0 specification (PEP-249).
.
MySQL Connector/Python is implementing the MySQL Client/Server protocol
completely in Python. This means you don't have to compile anything or MySQL
(client library) doesn't even have to be installed on the machine.
.
This package contains the Python 3 version of mysql.connector.
Description-md5: 4bca3815f5856ddf4a629b418ec76c8f
Homepage: http://dev.mysql.com/doc/connector-python/en/index.html
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu