Instalace
apt install mariadb-server phpmyadmin
Nastavení root hesla
mysql_secure_installation
Zapnout MariaDB při startu
systemctl enable mariadb.service
Přidat uživatele
mysql -u root -p CREATE USER 'user'@'localhost' IDENTIFIED BY 'password'; #GRANT ALL PRIVILEGES ON database.table TO 'user'@'localhost'; GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost'; FLUSH PRIVILEGES;