Rumah >pangkalan data >tutorial mysql >mysql下如何执行sql脚本

mysql下如何执行sql脚本

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBasal
2016-06-07 15:15:121294semak imbas

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入 进入MySql,选择数据库drpItem,执行source E:\struts_training_itemmgr.sql,如下所示: Enter password: ******** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入

 

  进入MySql,选择数据库drpItem,执行source E:\struts_training_itemmgr.sql,如下所示:

  Enter password: ********

  Welcome to the MySQL monitor.  Commands end with ; or \g.

  Your MySQL connection id is 110

  Server version: 5.0.77-community-nt MySQL Community Edition (GPL)

  Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

  mysql> use drpItem;

  Database changed

  mysql> source E:\struts_training_itemmgr.sql

  Query OK, 0 rows affected (0.03 sec)

  Query OK, 0 rows affected (0.05 sec)

  Query OK, 0 rows affected (0.09 sec)

  Query OK, 0 rows affected (0.08 sec)

  Query OK, 1 row affected (0.03 sec)

  Query OK, 1 row affected (0.03 sec)

  Query OK, 1 row affected (0.03 sec)

  Query OK, 1 row affected (0.03 sec)

  Query OK, 1 row affected (0.02 sec)

  Query OK, 1 row affected (0.03 sec)

  Query OK, 1 row affected (0.03 sec)

  mysql>

  [1] [2] 

mysql下如何执行sql脚本

Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Artikel sebelumnya:NS2入门实例 2Artikel seterusnya:oracle系统统计信息