1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00
lapineige 2023-08-19 15:19:37 +02:00 committed by GitHub
parent af07b8d82c
commit 5f2688a52e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ ynh_script_progression --message="Import default data in database..."
export mysqlconn="mysql --user=$db_user --password=$db_pwd --database=$db_name"
$mysqlconn -e "ALTER DATABASE $db_name CHARACTER SET utf8 COLLATE utf8_general_ci;"
zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | $mysqlconn
zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | $mysqlconn
convert_ZabbixDB