- MySQL の権利を Oracle が取得したことにより,MySQLからスピンアウトした MySQL互換DB
- Maria は開発チームのリーダの娘の名前らしい.
Rocky Linux 9 + 11.2[edit]
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=11.2
dnf -q module disable mariadb
dnf module reset mariadb
dnf rm mariadb
dnf install MariaDB-server MariaDB-client MariaDB-backup vim
mariadb -V
dnf install php-mysqlnd
CentOS7 + MariaDB-10.6.7†[edit]
Rocky Linux 8 + 10.5.22†[edit]
# vi /etc/yum.repos.d/mariadb.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.5/rhel8-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
module_hotfixes=1
# rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
# systemctl stop mariadb
# yum remove mariadb-server
# yum remove mariadb-10.3.35
# dnf install MariaDB-server MariaDB-client
# rpm -qa|grep MariaDB
# systemctl start mariadb
Trouble Shooting[edit]
Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255)[edit]
Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.[edit]
Rocky Linux 9[edit]
max_open_files to more than 32768 (request: 66655)[edit]
# vi /usr/lib/systemd/system/mariadb.service
LimitNOFILE=100000
LimitMEMLOCK=100000
# systemctl daemon-reload
# systemctl start mariadb
Can't create test file '/var/lib/mysql/blackjack.lower-test'[edit]
- データベースディレクトリがリンボリックリンクだと v11 で発生?