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;