How to Install and Uninstall default-mysql-server Package on Debian 12 (Bookworm)

Last updated: May 13,2024

1. Install "default-mysql-server" package

In this section, we are going to explain the necessary steps to install default-mysql-server on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install default-mysql-server

2. Uninstall "default-mysql-server" package

Please follow the step by step instructions below to uninstall default-mysql-server on Debian 12 (Bookworm):

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

3. Information about the default-mysql-server package on Debian 12 (Bookworm)

Package: default-mysql-server
Source: mysql-defaults
Version: 1.1.0
Installed-Size: 9
Maintainer: Debian MySQL Maintainers
Architecture: all
Depends: mariadb-server
Breaks: mysql-server (<< 5.7)
Description: MySQL database server binaries and system database setup (metapackage)
Description-md5: 9550a987565ff8657fc9f699871795c3
Section: database
Priority: optional
Filename: pool/main/m/mysql-defaults/default-mysql-server_1.1.0_all.deb
Size: 2860
MD5sum: b812b9e975fa58c04962255559327c51
SHA256: d0996fd144bcc72c87184d295efac841fedcf26678b5800bb820ab9824ead77d