Though MySQL should be running on your machine, type the following command on terminal to access mysql.
1. sudo service mysql start : It will start the mysql server.
2. mysql -u root -p : It will ask for password. Enter your password to get access to mysql.