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

8 lines
270 B
MySQL
Raw Normal View History

2019-08-13 11:13:16 +02:00
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;