eole-syspass/tmpl/syspass-create-database.sql

8 lines
270 B
SQL

CREATE DATABASE syspass;
GRANT ALL PRIVILEGES ON syspass.* to 'syspass'@'%%adresse_ip_web' identified by 'syspass';
%if %%mode_conteneur_actif != "non"
GRANT ALL PRIVILEGES ON syspass.* to 'syspass'@'%%adresse_ip_br0' identified by 'syspass';
%end if
FLUSH PRIVILEGES;