MySQL is a widely spread, multi-threaded, multi-user SQL database. For more information about features, see the official homepage.
# xbps-install -S mariadb
afterwards start the service
# ln -s /etc/sv/mysqld /var/service
The following command will interactively guide you through a number of recommended security measures at the database level and give you the possibility to set a root password for MariaDB:
Once you have started the MySQL server and added a root account, you may want to change the default configuration.
To log in as
root on the MySQL server, use the following command:
$ mysql -u root -p