15th May 2007

Connecting to mysql from command line (eg: PuTTY, shh)

Question: How do I connect to mysql database server from command line such as PuTTY and ssh?

Answer: The syntax to connect to mysql from command line is as below:

mysql -uUSERNAME -hHOST -pPASSWORD

Replace USERNAME, HOST and PASSWORD with your actual username, host (database server) and password.

Referral text link:

Leave a Reply

Free Anonymous Proxy