Done
Details
Details
Assignee
Kamil Holubicki
Kamil HolubickiReporter
Martino Pizzo
Martino PizzoPlanned Version/s
Needs QA
No
Time tracking
6h logged
Fix versions
Affects versions
Priority
Smart Checklist
Smart Checklist
Created July 12, 2024 at 2:44 PM
Updated January 27, 2025 at 10:41 AM
Resolved October 24, 2024 at 8:05 AM
I am trying to configure a pxc server with a custom configuration for slow log files, and I need to add the following:
so, I created a custom file that will be included in the main configuration and I have shared it when running docker with the following command:
docker run -v $(pwd)/my.cnf.d:/etc/my.cnf.d -e MYSQL_ROOT_PASSWORD=abc --rm -it percona/percona-xtradb-cluster:8.0.36-28.1
when I access container, I see that configuration is not reported correctly inside global vars:
mysql> show global variables like '%slow_query_log_file%'
if I remove
max_slowlog_size
from custom configuration,Variable_name
has the correct value:This is causing a problem with pmm, since it reads that variable, but it cannot open the file, which is present with the name I specify in configuration:
A similar issue is described here.