Ubuntu 19.10にMariaDB 10.3をインストール(OS標準)


はじめに

Ubuntu 19.10にMariaDB10.3をインストール

サポート

EoanErmine/ReleaseNotes - Ubuntu Wikiより、2020-07でOSはEOLになる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。

LOG

インストール

# cat /etc/os-release
NAME="Ubuntu"
VERSION="19.10 (Eoan Ermine)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.10"
VERSION_ID="19.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=eoan
UBUNTU_CODENAME=eoan

# apt update; apt install -y mariadb-server
... 略

各種確認

# service mysql start
# mysql -u root -e'select version();'
+-------------------+
| version()         |
+-------------------+
| 10.3.17-MariaDB-1 |
+-------------------+

# apt show mariadb-server
Package: mariadb-server
Version: 1:10.3.17-1
Priority: optional
Section: universe/database
Source: mariadb-10.3
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Debian MySQL Maintainers <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 67.6 kB
Depends: mariadb-server-10.3 (>= 1:10.3.17-1)
Homepage: https://mariadb.org/
Download-Size: 12.7 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
Description: MariaDB database server (metapackage depending on the latest version)