Home > Database > Mysql Tutorial > Mysql在命令行下引入sql文件

Mysql在命令行下引入sql文件

WBOY
Release: 2016-06-07 16:41:57
Original
1120 people have browsed it

高手一般都在命令行里操作mysql,今天介绍一个常用的命令–导入sql文件。 mysql -u root -p database_name file_name file_name 最好写绝对路径。 原文地址:Mysql在命令行下引入sql文件, 感谢原作者分享。

高手一般都在命令行里操作mysql,今天介绍一个常用的命令–导入sql文件。

mysql -u root -p database_name 
<p><span style="color: #800000;">file_name 最好写绝对路径。</span></p>
 
    <p class="copyright">
        原文地址:Mysql在命令行下引入sql文件, 感谢原作者分享。
    </p>
    
    


Copy after login
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