How do I remotely access a mysql database with ssh on windows?
July 7, 2009 8:06 AM
Subscribe
How do I remotely access a mysql database with ssh on windows?
Please assume that I have virtually no idea about the above process. Although I can use various web languages, including mysql, I have so far only used them on my own machine. Now I wish to try and connect to a database hosted remotely.
I have checked around and found plenty of advice for linux but how do I accomplish this in Windows? What exactly do I type in and where exactly do I type it in to?
The more steps you give me, the better! Thanks! Also the database has already been set up to allow this connection.
posted by Fluffy654 to computers & internet (7 comments total)
2 users marked this as a favorite
When you run it, you'll want to enter the remote host name you're connecting to, select ssh as the connection method, and then click on "open" to open the session. You'll then be asked for your username and password on the remote host. That's it -- you'll then be connected to the command line shell on the remote host.
You should then be able to enter into mysql on the command line by simply typing mysql (or perhaps mysql -u
The assumption with the above instructions, of course, is that the remote machine is prepped both with an ssh daemon as well as command-line mysql. If that's not the case, you may need to get specific instructions from the individuals who maintain that server.
posted by eschatfische at 8:24 AM on July 7