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

Last updated: May 14,2024

1. Install "mysql-server" package

Please follow the step by step instructions below to install mysql-server on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install mysql-server

2. Uninstall "mysql-server" package

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

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

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

Package: mysql-server
Architecture: all
Version: 5.7.33-0ubuntu0.16.04.1
Priority: optional
Section: database
Source: mysql-5.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 108
Depends: mysql-server-5.7
Filename: pool/main/m/mysql-5.7/mysql-server_5.7.33-0ubuntu0.16.04.1_all.deb
Size: 10814
MD5sum: 4f5ad10fe18976575b843b67c504a68b
SHA1: df04e44e0d99756e9d2e13f5df50ddce33b92be9
SHA256: 00931a7aff32f3345b7e9990411053a373a56bf3d3777b56b4fca4e8e0d6e26e
SHA512: e7e66f5cc695c1d357973f2b6f2ba1cce50f667be1ee67780d30037d2602eecb6348bb936aa7510eeae7ec9d962ce010e0d4099a33daa58267a096ceede24f1f
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-5.7), 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: b8b44aa3bf1e86bb2834ded6d9d869b5
Task: lamp-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master
Supported: 5y

Package: mysql-server
Priority: optional
Section: database
Installed-Size: 180
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Architecture: all
Source: mysql-5.7
Version: 5.7.11-0ubuntu6
Depends: mysql-server-5.7
Filename: pool/main/m/mysql-5.7/mysql-server_5.7.11-0ubuntu6_all.deb
Size: 10128
MD5sum: 7fc525a0e6aa6969855a8080eeb73bf8
SHA1: be3f5f662ade14c52e966e6f17ad274f17cb0236
SHA256: 67b3359a60ed3c215c276956563baec47c9437b72858bc09bc74a101c0cb219c
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-5.7), 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: b8b44aa3bf1e86bb2834ded6d9d869b5
Homepage: http://dev.mysql.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: lamp-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master