Search code examples
amazon-ec2remote-accesssinglestore

MemSQL - unable to connect remotely to EC2 cluster using MySQL client


I have used http://cloud.memsql.com to successfully deploy a MemSQL cluster to EC2 as documented here: http://docs.memsql.com/4.0/setup/setup_cloud/.

I can SSH to the master aggregator, and successfully login to the MemSQL prompt locally. However, I cannot connect remotely using a MySQL client application.

I have double-checked port 3306 is open and just for testing have applied all privileges to root:

GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;

The documentation states:

Once your cluster is up and running, connect to the master aggregator using any valid MySQL client driver.

Can anyone advise on a step I have missed?

--

UPDATE 1 - The source range is open for the MemSQL port:

3306    tcp 0.0.0.0/0   

UPDATE 2 - ufw has been disabled for testing.


Solution

  • It turned out to be a DNS issue by the provider I was using. Tried connecting using a cell phone and had no issues.