871 B
871 B
About
https://mariadb.org/ — A free and open source alternative to MySQL
Procedure
-
Run
apt install mariadb-server
to install MariaDB Server -
Run
mysql_secure_installation
to perform the intial setup -
Enter the MariaDB shell via running
mysql -u root -p
and supplying your password -
Run the following query to enable the root user for all hosts:
grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;
Congratulations, you can now connect to the local database through other applications, such as Python scripts and Adminer.
Sources
https://www.digitalocean.com/community/tutorials/how-to-install-mariadb-on-ubuntu-20-04