Home > Database > Mysql Tutorial > body text

MySQL数据库里执行sql文件的方法

WBOY
Release: 2016-06-07 16:51:06
Original
1327 people have browsed it

近日合作公司给了一份demo,其中的数据库是MySQL的,还包含一个数十兆的sql文件,判断这是产生用户数据库的语句了, 安装了MySQL后,在comma

近日合作公司给了一份demo,其中的数据库是MySQL的,还包含一个数十兆的sql文件,判断这是产生用户数据库的语句了, 安装了MySQL后,,在command line下执行:

mysql -hlocalhost -uroot -p******

就将数据库导入了MySQL,还是很简单的。

linux

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template