在Ubuntu 19.10上安装MariaDB 10.3(使用操作系统默认设置)

首先

将MariaDB 10.3安装到Ubuntu 19.10

支援

从Ubuntu Wiki的Eoan Ermine/ReleaseNotes页面中可以得知,2020年7月份后操作系统将过渡到EOL状态。
这意味着可能不会对在此之后报告的安全漏洞和错误进行修复。

日志

安装

# 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
... 略

各种确认 (Gè

# 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 <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
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)
bannerAds