Image courtesy: mariadb.org |
Install dirmngr
sudo apt-get install software-properties-common dirmngr
Importing the MariaDB GPG Public Key and install MariaDB
Apply following commands,
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://espejito.fder.edu.uy/mariadb/repo/10.4/debian stretch main'
sudo apt update
sudo apt-get install mariadb-server
Assign Root password for MySQL
If password asks during the installation process, enter the password in the window. Apply following command, if the password window did not appear during the installation,
sudo mysqladmin -u root password newpass
[Replace 'newpass' with your own new MySQL Root password]
References
https://mariadb.com/kb/en/library/installing-mariadb-deb-files/#importing-the-mariadb-gpg-public-key
https://downloads.mariadb.org/mariadb/repositories/#distro=Debian&distro_release=stretch--stretch&mirror=rise&version=10.4
No comments:
Post a Comment