How to Install and Uninstall python-mysql.connector Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 15,2024

1. Install "python-mysql.connector" package

In this section, we are going to explain the necessary steps to install python-mysql.connector on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "python-mysql.connector" package

Please follow the steps below to uninstall python-mysql.connector on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-mysql.connector package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-mysql.connector
Architecture: all
Version: 2.1.6-1
Priority: optional
Section: universe/python
Source: mysql-connector-python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sandro Tosi
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 602
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Breaks: mysql-utilities (<< 1.3.5-2)
Replaces: mysql-utilities (<< 1.3.5-2)
Filename: pool/universe/m/mysql-connector-python/python-mysql.connector_2.1.6-1_all.deb
Size: 98110
MD5sum: e6961e5ef4474d45cd58409831ee3e77
SHA1: bd76d8534b86c8cf5b9da4a9c84f2a5c29281fcb
SHA256: 91c4efa17cfeb3c6522553c003e96c928b9c90e16dff596f7f5a03d2f6f5a727
Homepage: http://dev.mysql.com/doc/connector-python/en/index.html
Description: pure Python implementation of MySQL Client/Server protocol
Description-md5: bb7e2eba7769d706d44e0ef91171b4ed