Home  >  Article  >  Backend Development  >  phpstorm - 如何在phpstrom的终端中打开mysql并导入sql文件 ?

phpstorm - 如何在phpstrom的终端中打开mysql并导入sql文件 ?

WBOY
WBOYOriginal
2016-06-06 20:32:303611browse

怎样在phpstrom的终端中打开mysql数据库,并导入sql文件,
别人帮我操作过,但我又忘了
phpstorm - 如何在phpstrom的终端中打开mysql并导入sql文件 ?

回复内容:

怎样在phpstrom的终端中打开mysql数据库,并导入sql文件,
别人帮我操作过,但我又忘了
phpstorm - 如何在phpstrom的终端中打开mysql并导入sql文件 ?

只消在终端中敲入 mysql -uroot -p your-database ;<br> 或者需要创建数据库 `mysql -uroot -p -e 'create database your-database``;<br> 或者直接登录mysql。

五色令人目盲啊!

phpstorm - 如何在phpstrom的终端中打开mysql并导入sql文件 ?

详细说明:https://www.jetbrains.com/phpstorm/help/creating-and-importing-data-so...

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