I’ve got my PMM server [2.43] installed and running [created from the .OVA file]
I have installed and registered 2 PMM clients on our 2 Ubuntu Linux MySql servers and they are reporting to the PMM server, I see OS level statistics about them in PMM.
I’m now trying to add the MySQL database using Performance Schema on each server, but always get the following error: “Connection check failed: dial tcp 127.0.0.1:3306: connect: connection refused.”
The command I’m using is: sudo pmm-admin add mysql --query-source=perfschema --username=pmm --password=passwordhere
I’ve also tried several variations of that including adding the service name and --server-insecure-tls
I’m following the QuickStart Guide Quickstart guide - Percona Monitoring and Management and Set up PMM Client - Percona Monitoring and Management
I have verified the accounts were created correctly in MySQL and has the correct Grants. I have tested the logins/passwords using “mysql -h localhost -P 3306 -u pmm -p” and that works for both accounts on both MySQL servers.
I have checked and/or added the variables: performance_schema=ON performance-schema-instrument=‘statement/%=ON’ performance-schema-consumer-statements-digest=ON innodb_monitor_enable = all
pmm-admin status:
Agent ID : /agent_id/defe5a46-a181-4d3a-90be-3f2455a195df
Node ID : /node_id/488f2fd8-2522-421f-b49e-65b079cbf4e0
Node name: WEBDB01TEST
PMM Server:
URL : https://ip.address/
Version: 2.43.0
PMM Client:
Connected : true
Time drift : -542.453µs
Latency : 651.3µs
Connection uptime: 100
pmm-admin version: 2.43.0
pmm-agent version: 2.43.0
Agents:
/agent_id/df5c7811-9d73-4832-ae51-a6ecee43eaa0 node_exporter Running 42000
/agent_id/f75caf8f-6386-4eae-875c-c885211fa3e2 vmagent Running 42001
Is there a way to see why my connection is being refused?
I’m not sure what else to try. I’m told our MySQL instance requires TLS, so I’m not sure if that’s part of the problem. I’m really a Windows admin, but I fiddle in Linux, and have been asked to setup PMM.