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

Mysql在命令行下引入sql文件

WBOY
WBOYOriginal
2016-06-07 16:41:571066browse

高手一般都在命令行里操作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>
    
    


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