How Do You Enter the MySQL Command Line from the Linux Command Prompt?

Problem scenario
You are using Debian or Ubuntu Linux and you want to enter the MySQL command prompt. What do you do?

Solution
Run this command: sudo mysql -u root

Leave a comment

Your email address will not be published. Required fields are marked *