Syntax for connecting to MySQL via the command line
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…