1 使用sql语句 source mysql 命令行执行 source + (.sql文件路径) 2使用 nacicat工具 ,直接执行SQL语句(推荐) 选中 数据库 右键 ---->>运行sql语句,刷新就好了