How to Install and Uninstall python3-mysqldb Package on Ubuntu 21.10 (Impish Indri)

Last updated: October 05,2024

1. Install "python3-mysqldb" package

Please follow the guidelines below to install python3-mysqldb on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-mysqldb

2. Uninstall "python3-mysqldb" package

Please follow the steps below to uninstall python3-mysqldb on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-mysqldb $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-mysqldb package on Ubuntu 21.10 (Impish Indri)

Package: python3-mysqldb
Architecture: amd64
Version: 1.4.4-2build4
Priority: optional
Section: python
Source: python-mysqldb
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 178
Provides: python3.9-mysqldb
Depends: python3 (<< 3.10), python3 (>= 3.9~), python3:any, libc6 (>= 2.4), libmysqlclient21 (>= 8.0.11)
Suggests: default-mysql-server | virtual-mysql-server, python3-mysqldb-dbg
Filename: pool/main/p/python-mysqldb/python3-mysqldb_1.4.4-2build4_amd64.deb
Size: 48648
MD5sum: cbd61c3c5dc42531ad9c92684d359113
SHA1: 64a27292d4ff0ea60b73067e2bc05e0dc1f072c8
SHA256: bdff9fa7d929a165865fc4fca27d2ac9bdf58010e3f923d2b6b1d5cfb60423f9
SHA512: c9ab74c8cbdfa1332b91ca7f24ae5f112463e4af600206e56b2ab27a4c834f6c3e4b256f3b6d41e62405d1a3a77819c592effdcfb80794bc02244d62a93ce130
Homepage: https://pypi.python.org/pypi/mysqlclient
Description-en: Python interface to MySQL
Mysqlclient is an interface to the popular MySQL database server for Python.
.
This is a fork of MySQLdb. It add Python 3.3 support and merges some pull
requests.
.
This package contains modules for all Python 3.x versions supported in Debian.
Description-md5: ef94561a9d5a0ef91971efb133cb764a