mysql -u root -p

答案解析

以root用户登录MySQL,-p提示输入密码。