Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

How to connect to mysql>

7:01 am on Aug 18, 2011 (gmt 0)

Junior Member

joined:Aug 15, 2011
votes: 0

I am testing things out of free hosting with cPanel etc, but I would like to connect to MySQL through Windows Command, or I guess Putty. I am just not sure how to do this and if it is possible at all.
In the end I want to be at mysql> on a server (instad of ftp> or c:\ in the command line if you know what I mean)

I have ftp info for the server (000webhost), I am able to connect through ftp client, I created an MySQL database in cPanel also. I just want to know if I can get there with either CMD or Putty (?) or something like that.

Thank you.
1:11 pm on Aug 18, 2011 (gmt 0)


WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
votes: 2

In order to use the command line in MySQL you will want to connect using secure shell (SSH) and PuTTY is the tool for Windows. But first you must turn on SSH access at the server. If you are allowed to do so via your control panel, go ahead. If not, you will have to talk to your hosting provider.