Windows Subsystem for Linux (WSL) let’s you do a lot of interesting stuff inside Windows, biggest of which is installing Linux applications. We’ll look into installing MariaDB on Ubuntu running inside WSL.
Before we start, make sure you have WSL activated and Ubuntu installed, follow this link if you haven’t done so.
Start off by adding repositories required by MariaDB
Update your installation
You’ll be prompted to set a root password and wait for the installation to continue. Issue the following command once installation is complete: