How to Install and Uninstall mysql-server Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 14,2024

1. Install "mysql-server" package

Please follow the instructions below to install mysql-server on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install mysql-server

2. Uninstall "mysql-server" package

Please follow the guidance below to uninstall mysql-server on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove mysql-server $ sudo apt autoclean && sudo apt autoremove

3. Information about the mysql-server package on Ubuntu 21.10 (Impish Indri)

Package: mysql-server
Architecture: all
Version: 8.0.27-0ubuntu0.21.10.1
Priority: optional
Section: database
Source: mysql-8.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 107
Depends: mysql-server-8.0
Filename: pool/main/m/mysql-8.0/mysql-server_8.0.27-0ubuntu0.21.10.1_all.deb
Size: 9536
MD5sum: 33fedb82c53458b6ae291d5c4e717a42
SHA1: 2799d6eb1b96d0baa1b81ec18465e00979d11a96
SHA256: 190da1942338a4304183d6c568fc3771856578b2864f6b03417097531cc8e76b
SHA512: 99cfd3ab350d821b714aeb5ca7fc96dffaea504dcff874e6ebf67a689a55b896c9fb009c762d32b620508dcfa2623966cb57aa0019e031d91a3b2aae6ee7c70e
Homepage: http://dev.mysql.com/
Description-en: MySQL database server (metapackage depending on the latest version)
This is an empty package that depends on the current "best" version of
mysql-server (currently mysql-server-8.0), as determined by the MySQL
maintainers. Install this package if in doubt about which MySQL
version you need. That will install the version recommended by the
package maintainers.
.
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
Description-md5: 743caadb7bcc9923a15d886cf7260d23
Task: lamp-server

Package: mysql-server
Architecture: all
Version: 8.0.26-0ubuntu1
Priority: optional
Section: database
Source: mysql-8.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 107
Depends: mysql-server-8.0
Filename: pool/main/m/mysql-8.0/mysql-server_8.0.26-0ubuntu1_all.deb
Size: 9532
MD5sum: ffa9351219f38be83234409eef075aad
SHA1: f8ced925a7560e3671abf28d08fafd2a992f87a5
SHA256: 449951f213f4c848180145804958ec2ac0f6e94ad0ff12bd184b03fea8b12fe9
SHA512: 7bd543c30b9ef57acd0ad82c7369445ddffac7c0df2d175b3bd22d5cd64f59e719893d875e94b6fa9b0998275377d74e5a1737e8d5468a708c249d367e68f106
Homepage: http://dev.mysql.com/
Description-en: MySQL database server (metapackage depending on the latest version)
This is an empty package that depends on the current "best" version of
mysql-server (currently mysql-server-8.0), as determined by the MySQL
maintainers. Install this package if in doubt about which MySQL
version you need. That will install the version recommended by the
package maintainers.
.
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
Description-md5: 743caadb7bcc9923a15d886cf7260d23
Task: lamp-server