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
A Technical I.T./DevOps Blog
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