You can log into the MySQL database by running the command ‘mysql -u root -p’. You will be prompted to enter your password. After successful login, you will be welcomed to the MySQL monitor.