ubuntu18.04 安装mariadb步骤
1.添加apt存储库和公钥
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.3/ubuntu bionic main'
2.安装mariadb
sudo apt-get install mariadb-server galera mariadb-client libmariadb3 mariadb-backup mariadb-common
中间按照提示操作即可!!!