Home > Featured > Syntax for connecting to MySQL via the command line
Bookmark and Share

Syntax for connecting to MySQL via the command line

Posted on May 12, 2012 | Filed in Featured, MySQL

Once you make the connection specified below, you can then issue whatever MySQL command you like.

Syntax:
mysql -u YOUR-USER-NAME -h YOUR-SERVER-NAME -p DATABASE-NAME

Example:
mysql -u yourname -h mydatabase.com -p abcd

 

Leave a Reply

Contact Us

Big Apple Design Group
134 West 29th Street
Third Floor
New York, NY 10001

[email protected]

Search Blog