Comments - Ubuntu 22.04. "Starting MariaDB database server mariadbd [fail]"

2 years, 3 months ago Sebastijan Salak

My brother has found a github issue with Ubuntu WSL that produced the same AIO error with MySQL.

Here is what worked for me:

sudo apt remove --purge *mysql*
sudo apt remove --purge *mariadb*
sudo rm -rf /etc/mysql /var/lib/mysql
sudo apt autoremove
sudo apt autoclean

Notice my edit in the OP that I did a complete reinstall of WSL and Ubuntu, so it kept happening on the fresh install as well.

Also notice that this completely purged every data I had.

In short, this is WSL issue, not an issue with MariaDB.

The issue on github:

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.