SyntaxFix
Write A Post
Hire A Developer
Questions
Best practice would be to mysql -u root -p. Then MySQL will prompt for password after you hit enter.
mysql -u root -p