Home >Database >Mysql Tutorial >cmd命令行导入mysql数据

cmd命令行导入mysql数据

WBOY
WBOYOriginal
2016-06-07 16:34:101504browse

开始->运行->CMD,以下是mornone执行的命令记录。 本文关键字: set names utf8;(防止乱码) source(导入sql文件) D: cd D:\xampp\mysql\bin mysql -uxxx -pxxx create database xxx; use xxx; set names utf8; source C:\Downloads\xxx.sql;

开始->运行->CMD,以下是mornone执行的命令记录。 本文关键字: set names utf8;(防止乱码) source(导入sql文件) D: cd D:\xampp\mysql\bin mysql -uxxx -pxxx create database xxx; use xxx; set names utf8; source C:\Downloads\xxx.sql;cmd命令行导入mysql数据
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:缓存之redisNext article:Linux下C++操作Redis