Explorar el Código

Add Zabbix DB init script

lanfr144 hace 2 semanas
padre
commit
06df1fda4e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      init_zabbix_db.sh

+ 1 - 0
init_zabbix_db.sh

@@ -0,0 +1 @@
+mysql -e "CREATE DATABASE IF NOT EXISTS zabbix character set utf8mb4 collate utf8mb4_bin; CREATE USER IF NOT EXISTS 'zabbix'@'%' IDENTIFIED BY 'zabbix_pwd'; GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'%'; SET GLOBAL log_bin_trust_function_creators = 1; FLUSH PRIVILEGES;"