聘我网

新概念招聘3.0

MySQL命令行中如何执行外部的sql文件?

vote up0vote downstar
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

这种情况我想执行外面写好的sql语句文件,该如何操作?

 

1 个答复

vote up0vote downcheck
mysql> source *****.sql.txt
Query OK, 1 row affected (0.00 sec)
链接

您的回答





不是您要找的问题? 浏览其他含有标签 的问题或者 自己问个.