C:Usersxiaomi>mysql -uroot -p Enter password: **** Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 5 Server version: 5.0.87-community-nt MySQL Community Edition (GPL) Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.退出
mysql> quit Bye
说明:
1. mysql -uroot -p
不能写分号
2. quit
写不写分号,其实都无所谓的
3. 建议初学着多实用命令行的方式去使用mysql,可以快速熟悉mysql语句的使用,企业笔试,常考!



