Cannot connect to MySQL instance from command line. When I ping the address is comes back with a SalesForce response.

Ken Schaefer 0 Reputation points
2023-05-23T15:21:37.09+00:00

I have a MySQL database on Azure Database for MySQL. I am trying to connect to the database from the bash shell in the browser:

mysql -h hhm-emr-server.mysql.database.azure.com -u {username} -p

It returns an unknown host error.

When I ping hhm-emr-server.mysql.database.azure.com I get replied from salesforce.com:

~$ ping hhm-emr-server.mysql.database.com

PING test.l2.salesforce.com (13.110.249.225) 56(84) bytes of data.

64 bytes from dcl8-ncg1-c5-iad4.test.salesforce.com (13.110.249.225): icmp_seq=1 ttl=239 time=32.5 ms

64 bytes from dcl8-ncg1-c5-iad4.test.salesforce.com (13.110.249.225): icmp_seq=2 ttl=239 time=33.2 ms

64 bytes from dcl8-ncg1-c5-iad4.test.salesforce.com (13.110.249.225): icmp_seq=3 ttl=239 time=32.9 ms

This server has been up for months and I have used both command line and MySQL workbench many times. In fact, I was using workbench on this server yesterday.

How to I get MS to fix their issue without upgrading to an expensive support plan?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
712 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ken Schaefer 0 Reputation points
    2023-05-23T23:47:11.6833333+00:00

    Thank you for your reply. I paid for a month of support and was able to resolve the issue with the support team.

    We rebooted the flexible MySQL server and the connection restored. As well, the weird SalesForce response went away and is now the expected cloudapp.net

    0 comments No comments