Problems Installing MariaDB on Ubuntu 18.04
I recently encountered exactly the issue described here: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1799763
In my case, a tutorial was followed: https://computingforgeeks.com/install-mariadb-10-on-ubuntu-18-04-and-centos-7/
1 Reply
I ran the steps in the guide you linked on a fresh Ubuntu 18.04 distribution, attempting to recreate the same conditions that you have - and I was successful in installing MariaDB. These are the steps that I followed:
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://mariadb.mirror.liquidtelecom.com/repo/10.4/ubuntu $(lsb_release -cs) main"
sudo apt update
sudo apt -y install mariadb-server mariadb-client
I want to note that I didn't get any sort of installation wizard when I installed MariaDB. It didn't even ask me to set a password. I just ran the commands listed in the guide that you linked, and when it was done I ran this:
MySQL -u root -p
It let me log in to the database using my root password.
If these steps are not working for you, I recommend following the guide that we've put together on installing MariaDB on an Ubuntu distribution: