Use the following outline to connect and begin querying the mySQL server from a Telnet. Remember that you cannot connect to your databases remotely due to security concerns, you can only connect from localhost.
1. Connect to the mySQL Server servername:> mysql -u USERNAME -p Enter Password: PASSWORD
2. Connect to the Database mysql> use DATABASENAME;