Issue connecting to MySql Service from Virtual Machine in Azure China - mysql

I have a Microsoft Azure account in China, in which there is a Virtual Machine and a "mysql database on azure" service set up.
I can RDP onto the VM from my development PC (in the UK) and I can connect to the MySql database from my development PC. However, I cannot connect to the MySql database from the Azure VM.
When attempting to connect using MySql Workbench, I get the following error:
"SSL connection error: socket layer receive error"
I have checked the configuration of the VM and of the MySql server and everything looks correct. Any ideas?

We have now resolved this. In case anyone comes across a similar problem, the issue is with the version of MySql Workbench we were using.
Hosted MySql in Azure China works with MySql Workbench 6.2, but does not work with 6.3.

Related

MySQL localhost cant connect windows 10

Here is the setups
Old windows 7 laptop I've got mysql installed on it. Project in Livecode connect to it. Projects in Unity connect to it.
New windows 10 laptop exact same versions of livecode, mysql and unity installed. None of them can connect to MySQL locally. I can connect with unity to the MySQL on my website just not the local one. Yes the server is running. Yes the 3306 port is open in the firewall. Yes MySQL Workbench connects fine to the database. I just cant get anything else to connect to it.
worked it out.
has to be an older version of mysql, .net connector needs to be installed, passwords must be set to standard authentication not sha256

Azure Managed SQL - ODBC Drivers

I have an Azure Managed SQL instance that I would like to use to connect to a MySQL server via a linked server used ODBC. I have tried and this keeps telling me I do not have the driver installed or the data source doesn't exist.
Is this because it expects this to be installed on the Azure machine hosting the server? I have seen mentions of people setting up an Azure VM to connect to the machine and install drivers / setup ODBC. Is this correct?
Can someone please either tell me how to connect to ODBC using DSN from my PC, or confirm if the error is due to the VM requirement
For reference, I have followed numerous guides and still have the same issue
Thanks in advance

From SQL Management Studio to RPI MySql

I'm starting to learn databases and I'm experimenting with hardware. On raspberry pi I have installed MySql. I also have installed phpMyAdmin and I can administrate database through web interface.
Now, I want to connect to that database with Microsoft SQL Server Management Studio but I don't know how. On raspberry I allowed connection from all IP addresses ( not only 127.0.0.1 which is default ) but I don't know what next to do?
When I try to connect I get this message.
https://image.prntscr.com/image/QCKYcgmeRfeRgqMYP6DcbA.png
This is picture of my connecting data. Is this ok?
https://image.prntscr.com/image/y6g8C-whR4aUEM0qPtg4lg.png
Microsoft SQL Server Management Studio can solely connect to Microsoft SQL Server, nothing else. Its name should have been a huge giveaway...
There are dozens of desktop applications that you can use to manage a mysql server, such as mysql workbench, sqlyog, heidisql, etc.

How to remote access MySQL installed on windows server 2012 R2

I have MySQL installation on windows server 2012 R2 on a remote server. Which was accessible earlier from my local computer over internet. But recently my local IP is changed, by then I am unable to access MySQL.
I am using MySQL as database with my application building on C# MVC with Entity Framework 6.
MySQL is not accessible through Workbench either now.
Please help.
I found the answer here:
MySQL:Can’t connect to MySQL server (10060) from remote client

Connect a MySQL db that has SSH tunneling with Visual Studio 2010

I want to connect a MySQL database with Visual Studio 2010 server explorer so I can work on my website. I installed the MySQL connector but that connector is only for a MySQL database that doesn't have SSH tunneling. Is there some connector for this? (althou I think I would've found it by now.)
What you have to do is choose a ssh client (I like putty - http://www.chiark.greenend.org.uk/~sgtatham/putty/)
Then when you connect to the remote host tunnel the mysql port from the remote machine to your local one (check in the documentation)
After you have done this, then use the server explorer and connect to localhost.
Alternatively, take a look at MySQL Workbench (http://www.mysql.com/products/workbench/) it has SSH tunneling built in