[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
Table of Contents
Install MariaDB On Slackware
MariaDB is the drop-in replacement for MySQL.
Installing MariaDB
Install MariaDB from the official Slackware discs or using slackpkg. If you performed a full install of Slackware, then you already have MariaDB on your computer.
Configuring MariaDB
As root
- Install the system databases
mysql_install_db
- Set ownerships of MariaDB libs
chown -R mysql:mysql /var/lib/mysql
- Set rc.mysqld file as executable
chmod 755 /etc/rc.d/rc.mysqld
- Start MariaDB
/etc/rc.d/rc.mysqld start
-Set root (master) password
mysqladmin -u root password 'NEW_PASSWORD'