Hi @mohammad.zaid - Before we dive into potential config issues can you please double check on our compatibility requirements for the MySQL On-Host Integration here.
Now that we have that out of the way let’s get stuck into your config!
The only directory that your
mysql-config.yml config file is read from is
/etc/newrelic-infra/integrations.d/ so to avoid any conflicts please make sure you delete the config files from the other mentioned directories before troubleshooting.
To prevent any formatting issues, the best approach would be to copy and rename the
mysql-config.yml.sample which was added to
/etc/newrelic-infra/integrations.d/ when you first installed the integration. The contents should look similar to the below:
- name: mysql-server
On first glance, it looks like the
command key should be on its own line not under
For now, I would use the
mysql-config.yml.sample as a base template. Don’t forget to restart the infrastructure agent for any changes you make.
Let us know how that goes for you!