Sometimes you just want to import an .sql File in PhpStorm. At a first glance you would think this is in the options menu of your DB Tab – but sadly it’s not…:
This will just open the option to import files like .csv and .tsv
Add the .sql file to your project and right click it:
Choose your DB from your project and click it.
I know this can be much faster via console – this is just for users who are more comfortable with the IDE.