使用命令行登录mysql

进入mysql

1. mysql -u root -p 
2. 输入密码

退出

exit 或者 quit
原文地址:https://www.cnblogs.com/qingmuchuanqi48/p/14065412.html