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

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

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

How to add Remote MySQL Connection in Windows Server using zPanel

I have database at windows server zpanel and i want to access it from another domain which has Linux hosting.
How to add remote mysql access in zpanle?

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

Issue connecting to MySql Service from Virtual Machine in Azure China

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.

How to use a GUI tool to administer a SQLite database on a virtual machine

I know how to do this for MySQL.
I am using Mac OS X 10.7.5
I run VirtualBox with the guest OS as 12.10 Ubuntu Server edition.
Inside the Ubuntu, I installed mySQL and SQLite3.
MySQL runs on the usual 3306 port in the Ubuntu.
Using the port forwarding feature in VirtualBox, I port-forwarded port 3122 on the host OS(Lion) to the ssh port 22 on the guest OS(Ubuntu).
I run the software Sequel Pro on my Macbook which has a SSH access option.
See screenshot.
Using this method, I can administer the mySQL databases on the Ubuntu Server where I run my web application development.
How do I administer the SQLite3 databases in a similar way?
I have downloaded the SQLite3 Database Browser, but there is no SSH option as far as I can see.
Unless the app comes with SSH tunnelling capabilities you are out of luck. Still here are a few alternatives for you to try:
You can use a native app inside the VM. SQLite3 Database Browser is available for Ubuntu as well.
Since sqlite databases are basically files you could mount the VM as an SSH volume on your Mac and open the file with SQLite3 Database Browser.