Programming/MariaDB/Setup: Difference between revisions
< Programming | MariaDB
Jump to navigation
Jump to search
Brodriguez (talk | contribs) m (Brodriguez moved page MariaDB/Setup to Programming/MariaDB/Setup) |
Brodriguez (talk | contribs) (Correct command) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Installation == | == Installation == | ||
=== Windows === | |||
Download and install from https://mariadb.org/download/ | |||
=== Arch Linux === | === Arch Linux === | ||
pacman -Syu mariadb --noconfirm | pacman -Syu mariadb --noconfirm | ||
Line 12: | Line 15: | ||
sudo systemctl start mariadb.service | sudo systemctl start mariadb.service | ||
sudo systemctl enable mariadb.service | sudo systemctl enable mariadb.service | ||
Optionally install programming dependencies (required for things like Django project serving) via: | |||
sudo apt install libmariadbclient-dev libssl-dev |
Latest revision as of 08:25, 20 November 2020
Installation
Windows
Download and install from https://mariadb.org/download/
Arch Linux
pacman -Syu mariadb --noconfirm sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql systemctl start mariadb.service systemctl enable mariadb.service
Ubuntu
Basic installation can be performed with:
sudo apt update sudo apt install mariadb-server sudo systemctl start mariadb.service sudo systemctl enable mariadb.service
Optionally install programming dependencies (required for things like Django project serving) via:
sudo apt install libmariadbclient-dev libssl-dev