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

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

WBOY
WBOYOriginal
2016-06-06 20:32:303613Durchsuche

怎样在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...

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn