MySQL How-to Connect to Remote Database by Terminal/Command Line

October 7th, 2011 by Regaz
The Tip Simply Shows How-to Connect to a Remote MySQL Database by Terminal Command

With IP Address:

mysql -h xxx.xxx.xxx.xxx -u yourMySQLUser -p

With Hostname:

mysql -h yourHostName -u yourMySQLUser -p
(Visited 1 times, 1 visits today)

Tags: , , , ,


No Responses to “MySQL How-to Connect to Remote Database by Terminal/Command Line”

  1. You are the best, thanks a bunch!