PHP8.1.21版本已发布
vue8.1.21版本已发布
jquery8.1.21版本已发布

mysql下如何执行sql脚本

原创
2016-06-07 15:15:12 952浏览

欢迎进入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] 

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。