I installed MySQL on my Ubuntu 18 machine, but when I type mysql on the Ubunutu terminal, I get the following error message:
ERROR 1045 (28000): Access denied for user
What is the command to go to MySQL terminal on Ubuntu?
You need to type the following command on the Ubuntu terminal to access MySQL:
$ mysql -u root -p
It will prompt for the password. Type your root password. If you created another user while installing MySQL, you can use that user instead of root.