first commit
This commit is contained in:
6
templates/create_proxy_db.j2
Normal file
6
templates/create_proxy_db.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
DROP DATABASE IF EXISTS {{proxy_db_name}};
|
||||
DROP USER IF EXISTS '{{proxy_db_user}}'@'localhost';
|
||||
create database {{proxy_db_name}} character set utf8mb4 collate utf8mb4_bin;
|
||||
create user {{proxy_db_user}}@localhost identified by '{{proxy_db_passwd}}';
|
||||
grant all privileges on {{proxy_db_user}}.* to {{proxy_db_name}}@localhost;
|
||||
set global log_bin_trust_function_creators = 1;
|
||||
Reference in New Issue
Block a user