Command line connection parameters for MySQL database connection
mysql -D <databasename> -h <hostname> -u <username> -p
You will then be prompted for your password.