<p>I am having trouble connecting remotely to my MySql install that runs on an Azure VM.</p>

<p>Here is what I did:</p>

<ul>
<li>Ubuntu VM with MySql 5.7 installed</li>
<li>Bind Address set to 0.0.0.0 <a href="https://i.sstatic.net/EwjFa.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EwjFa.png" alt="enter image description here"></a></li>
<li>User granted rights with wildcard domain</li>
<li>Opened 3306 on Azure networking page <a href="https://i.sstatic.net/Oh8qi.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Oh8qi.png" alt="enter image description here"></a></li>
</ul>

<p>I can connect using MySql Workbench if I use the ssh credentials, but not directly.</p>

<p>I cannot connect with telnet, which tells me that the issue is with Networking, but I am not sure what the issue is.</p>

CC BY-SA 4.0
2020-01-02T17:30:34.097Z
Are you using a "managed" Azure Database for MySQL?  Or did you create a VM and manually create the DB within the VM?
Wesley Rolnick
CC BY-SA 4.0
2020-01-02T20:32:30.873Z
Created a DB within the VM
Nick
<azure><networking><mysql>
Connecting to MySQL Remotely on Azure VM
Nick
# Connecting to MySQL Remotely on Azure VM

(Asked by: username_0 on 2020-01-01)

I am having trouble connecting remotely to my MySql install that runs on an Azure VM.

Here is what I did:

* Ubuntu VM with MySql 5.7 installed
* Bind Address set to 0.0.0.0 [![enter image description here](https://i.sstatic.net/EwjFa.png)](https://i.sstatic.net/EwjFa.png)
* User granted rights with wildcard domain
* Opened 3306 on Azure networking page [![enter image description here](https://i.sstatic.net/Oh8qi.png)](https://i.sstatic.net/Oh8qi.png)

I can connect using MySql Workbench if I use the ssh credentials, but not directly.

I cannot connect with telnet, which tells me that the issue is with Networking, but I am not sure what the issue is.

**Tags:** azure, networking, mysql

> **Comments:**
> **username_1**: Are you using a "managed" Azure Database for MySQL?  Or did you create a VM and manually create the DB within the VM?  
> **username_0**: Created a DB within the VM  

---

## 0 answers

