1、启动/关闭mysql服务(功能):
net start/stop mysql名称
2、利用用户名密码进入数据库:
mysql -u 用户名 -p
3、显示mysql中所有数据库:
show databases;
4、使用某个数据库:
use 数据库名;
5、显示当前数据库所有的表
show tables;
6、显示表的创建语句:
show create table 表名;
6、显示表的结构:
describe 表名;
7、重命名表名:
rename table 旧表名 to 新表明;
8、退出mysql:
exit;
数据库文件的导入/出:
https://blog.csdn.net/weixin_42839144/article/details/81491023