1.运行-cmd进入命令窗口
2.连接数据库 : mysql -h localhost -u root -p 然后输入用户名密码进行
3.查看数据库操作
1).定位具体使用哪个数据库 use databasename;(use opzoonface;)
2).查看数据库中的表 show tables;
3).在数据库中进进行查询操作 select * from user;
参考资料:
http://www.cnblogs.com/paulhe/p/4213903.html