G
G
Groshik_BY2020-02-20 14:10:00
phpstorm
Groshik_BY, 2020-02-20 14:10:00

In PHPStorm, files see only one database, how to fix it?

I need to work with two databases, but PHPStorm only works with one (Individually, both work). Is there any way to fix this or switch between them?
5e4e68c8e9839302812108.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergei Iamskoi, 2020-02-21
@Groshik_BY

On the SQL line, you press to call a hint (option + Enter if poppy), you choose what to do with the request, you choose where: in a separate console, in this file, in which database. You can see everything on the screenshots.
5e4f001a313db328604545.png
5e4f0022d38b4890053199.png
Menu - this is just the name of the file, the output will start immediately at the bottom.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question