LoginSignup
0
1

More than 1 year has passed since last update.

Ubuntu 22.04にMariaDB 10.6をインストール(OS標準)

Posted at

はじめに

Ubuntu22.04にMariaDB10.6をインストール
親記事:MySQL, MariaDBの各種インストール方法とEOLまとめ - Qiita

LOG

インストール

# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
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"
UBUNTU_CODENAME=jammy

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

各種確認

# service mariadb start
# mysql -u root -e'select version();'
+-------------------------+
| version()               |
+-------------------------+
| 10.6.7-MariaDB-2ubuntu1 |
+-------------------------+

注意

特定環境だと下記設定をしないとMariaDBが起動しない模様
mysql - Unable to start mariadb service on WSL2 (Win10) Ubuntu 22.04 - Ask Ubuntu
https://askubuntu.com/a/1409701

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1