Hello guys,
I'm trying to deploy Zabbix on my Raspberry Pi 4, but i can't import zabbix schemas to MariaDB. I used the command "zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p'zabbixDBpass' zabbix" and it never finish. I waited for 9 hours and nothing, it just processing yet.
How i can solve this ?
notes:
Raspberry pi 4, 4g ram
32gb Sd card
Zabbix-server and MariaDB are installed on same raspberry
i have this configuration on my /etc/mysql/mariadb.conf.d/10_my_tweaks.cnf:
[mysqld]
max_connections = 454
innodb_buffer_pool_size = 1G (ps. i have already tested with 400m too )
innodb-log-file-size = 128M
innodb-log-buffer-size = 128M
innodb-file-per-table = 1
innodb_buffer_pool_instances = 8
innodb_old_blocks_time = 1000
innodb_stats_on_metadata = off
innodb-flush-method = O_DIRECT
innodb-log-files-in-group = 2
innodb-flush-log-at-trx-commit = 2
tmp-table-size = 96M
max-heap-table-size = 96M
open_files_limit = 65535
max_connect_errors = 1000000
connect_timeout = 60
wait_timeout = 28800
thanks!
I'm trying to deploy Zabbix on my Raspberry Pi 4, but i can't import zabbix schemas to MariaDB. I used the command "zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p'zabbixDBpass' zabbix" and it never finish. I waited for 9 hours and nothing, it just processing yet.
How i can solve this ?
notes:
Raspberry pi 4, 4g ram
32gb Sd card
Zabbix-server and MariaDB are installed on same raspberry
i have this configuration on my /etc/mysql/mariadb.conf.d/10_my_tweaks.cnf:
[mysqld]
max_connections = 454
innodb_buffer_pool_size = 1G (ps. i have already tested with 400m too )
innodb-log-file-size = 128M
innodb-log-buffer-size = 128M
innodb-file-per-table = 1
innodb_buffer_pool_instances = 8
innodb_old_blocks_time = 1000
innodb_stats_on_metadata = off
innodb-flush-method = O_DIRECT
innodb-log-files-in-group = 2
innodb-flush-log-at-trx-commit = 2
tmp-table-size = 96M
max-heap-table-size = 96M
open_files_limit = 65535
max_connect_errors = 1000000
connect_timeout = 60
wait_timeout = 28800
thanks!
Comment