Just a simple exercise for this one. At the command prompt, type
mysql -u username -p -- dbname
where username is the username associated with your MySQL database
and dbname is the database name.
You'll then be prompted for your password.
This prompt should then appear, indicating you are now connected to the database.