Base de donnée MariaDB pour site web

apt install mariadb-server
mariadb-secure-installation

mariadb -u root -p
create database maBase;
grant all privileges on maBase.* TO 'newUser'@'localhost' identified by 'newUserPwd';

note pour remote user: grant all privileges on piwigo.* TO 'newUser'@'%' identified by 'newUserPwd';

flush privileges;
Dernière modification : le 2026/04/30