Hi there,
I am a new user to zabbix
when I am setting up Partitioning a Zabbix MySQL database with Perl with ubuntu20.04 ,mysql-server 8.0.23
I follow the tutorial (https://blog.zabbix.com/partitioning...cedures/13531/)
perl /usr/share/zabbix/mysql_zbx_part.pl
shows error:
DBI connect('zabbix:mysql_socket=/var/lib/mysql/mysql.sock','zabbix',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at mysql_zbx_part.pl line 38.
Can't call method "prepare" on an undefined value at mysql_zbx_part.pl line 78.
what am I getting wrong?
I am a new user to zabbix
when I am setting up Partitioning a Zabbix MySQL database with Perl with ubuntu20.04 ,mysql-server 8.0.23
I follow the tutorial (https://blog.zabbix.com/partitioning...cedures/13531/)
perl /usr/share/zabbix/mysql_zbx_part.pl
shows error:
DBI connect('zabbix:mysql_socket=/var/lib/mysql/mysql.sock','zabbix',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at mysql_zbx_part.pl line 38.
Can't call method "prepare" on an undefined value at mysql_zbx_part.pl line 78.
what am I getting wrong?
Comment