1. 在mysql的bin目录下执行命令./mysql -u root (若root有密码需输入密码)进入数据库, 2.mysql命令大全:http://see.xidian.edu.cn/cpp/html/1442.html