Startup Of Mariadb
2018-10-13
Installation and Configuration
- Install by
sudo pacman -Sy mariadband add user to mysql group. - Initialize a db by running
sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql. - Run the mysql server by
systemctl start mariadb.service. - Register a root of mysql by
mysqladmin -u root password <password>. - Login as root by
mysql -u root -p.