mysql 导入sql脚本
来源:互联网 发布:开放教育与网络教育 编辑:程序博客网 时间:2024/06/05 09:34
C:\Users\Administrator>mysql -u root -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.6.26-log MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql> source e:/android_work/mstx.sql
Query OK, 7 rows affected (0.07 sec)
Query OK, 1 row affected (0.00 sec)
Database changed
Query OK, 0 rows affected (0.01 sec)
Query OK, 0 rows affected (0.02 sec)
Query OK, 0 rows affected (0.02 sec)
mysql> quit
Bye
mstx.sql 内容
drop database mstx;
create database mstx;
use mstx;
create table mstx_head( /*头像表*/
tid int NOT NULL, /* 编号 */
tname varchar(50), /* 头像的名称 */
tdis char(255), /* 简单的描述 */
tdata blob, /* 图片的数据*/
uid int, /* 上传者ID */
ttime TIMESTAMP, /* 上传时间 */
PRIMARY KEY(tid) /* 设置主键 */
);
commit;
- mysql导入sql脚本
- Mysql 导入sql脚本
- mysql导入sql 脚本
- MySQL导入SQL脚本
- mysql导入sql脚本
- mysql 导入sql脚本
- MySql导入导出sql脚本
- 实现MySQL导入sql脚本
- mysql 导入导出sql脚本
- mysql导入导出sql脚本
- MySql 导入sql脚本 导出sql脚本 数据库
- MySQL导出和导入SQL脚本
- MySQL导入和导出sql脚本
- MySQL导出和导入SQL脚本
- Mysql导入大尺寸sql脚本文件
- mysql直接导入sql脚本文档
- Ubuntu下Mysql 如何导入.sql脚本
- MySQL导入和导出sql脚本
- 【智能路由器】goahead服务器快速开发
- windows command line (cmder + cygwin + 7+ Taskbar Tweaker)
- 股票有点意思
- 使用python或工具调用Zabbix RESTful API
- swipeRefreshLayout嵌套ScrollView滑动冲突
- mysql 导入sql脚本
- 【软考】--软件开发模型
- 石子合并
- LeetCode-----53. Maximum Subarray(最大子集合)
- lower_bound和upper_bound的区别
- 如何为VPN选择合适的动态密码双因素认证方案
- 简易小游戏扫雷——C语言编程实现
- JavaScript事件 DOMNodeInserted DOMNodeRemoved
- 数据库操作日志并通过日志进行不同数据库的备份