0% found this document useful (0 votes)
181 views2 pages

Install Mariadb On Slackware

This document provides instructions for installing and configuring MariaDB, a drop-in replacement for MySQL, on Slackware Linux. It describes installing MariaDB from the Slackware discs or via slackpkg. It then lists the steps to configure MariaDB by installing system databases with mysql_install_db, setting ownership and permissions of MariaDB files and directories, starting the MariaDB service, and setting the root password. It also mentions connecting to the MariaDB server and troubleshooting.

Uploaded by

robertomurion
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
181 views2 pages

Install Mariadb On Slackware

This document provides instructions for installing and configuring MariaDB, a drop-in replacement for MySQL, on Slackware Linux. It describes installing MariaDB from the Slackware discs or via slackpkg. It then lists the steps to configure MariaDB by installing system databases with mysql_install_db, setting ownership and permissions of MariaDB files and directories, starting the MariaDB service, and setting the root password. It also mentions connecting to the MariaDB server and troubleshooting.

Uploaded by

robertomurion
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

2019/01/14 15:20 (UTC) 1/2 Install MariaDB On Slackware

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'

Connecting to your MariaDB server

Troubleshooting

SlackDocs - https://docs.slackware.com/
Last update:
2018/01/01 howtos:databases:install_mariadb_on_slackware https://docs.slackware.com/howtos:databases:install_mariadb_on_slackware
12:25 (UTC)

Sources
Originally written by arfon

howtos, software, mariadb, mysql, database, author arfon

From:
https://docs.slackware.com/ - SlackDocs

Permanent link:
https://docs.slackware.com/howtos:databases:install_mariadb_on_slackware

Last update: 2018/01/01 12:25 (UTC)

https://docs.slackware.com/ Printed on 2019/01/14 15:20 (UTC)

You might also like