Friday, October 7, 2011

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

The Tip Simply Show 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