[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

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


- 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'

Connecting to your MariaDB server



 howtos:databases:install_mariadb_on_slackware ()