Hi,
I'm running dockerized Zabbix Server 5.0.3. Mysql database is growing fast and I need the delete old data. The problem is I don't know how to do it. Zabbix is started using docker-compose_v3_alpine_mysql_latest.yaml file.
I've tried the following:
1. Login to mysql container (zabbix/zabbix-server-mysql:alpine-5.0-latest):
2. Then inside container:
, with default password
3. System responds with:
This is true, /run/mysqld/mysqld.sock not exist and it seems there is no mysqld.sock anywhere in the system.
I'm running dockerized Zabbix Server 5.0.3. Mysql database is growing fast and I need the delete old data. The problem is I don't know how to do it. Zabbix is started using docker-compose_v3_alpine_mysql_latest.yaml file.
I've tried the following:
1. Login to mysql container (zabbix/zabbix-server-mysql:alpine-5.0-latest):
Code:
docker exec -it 5f35299502af /bin/bash
Code:
mysql -u root -p
3. System responds with:
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)
Comment