Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
[ec2-user@ip-10-178-1-124 ~]$ pmm-admin add mysql NNN2 --socket=/var/lib/mysql/mysql.sock --port=12
Socket and port cannot be specified together.
Nailya Kutlubaeva April 22, 2020 at 9:42 AM
@Nurlan Moldomurov I tried to add MySQL Service with socket and port providing and the service was added successful
[ec2-user@ip-10-178-1-175 ~]$ pmm-admin add mysql --username=root --socket=/var/lib/mysql/mysql.sock --port=6033 mysql
MySQL Service added.
Service ID : /service_id/3caa9d4e-00ed-4812-a55d-cc4b06ecc7b8
Service name: mysql
Table statistics collection enabled (the limit is 1000, the actual table count is 280).
STR:
Try to add MySQL with specifying socket and port:
[ec2-user@ip-10-178-2-129 ~]$ pmm-admin add mysql --cluster=pxc --username=root --socket=--socket=/tmp/PXC_NODE_3.sock --port=1722 PXC_3
Given result:
both socket and address are passed
The same error message is returned while using both socket and address
Expected result:
Both socket and port cannot be specified