Run this command:

mysql -u [username] -p

Then, u will be prompt to enter mysql password. Make sure replace [username] with your mysql username.