Problems accessing 2 different databases from console
I have issues using 2 different databases at the same time.
For example I made this test:
Running a query in the console from the first schema wil show results:
Doing the same with the other schema it queries the "company" instead of the "company_testdb":
For one database schema it works great and it is a great feature! But this doesn't make sense to me.
Is there a way to make this work?
Thanks in advanced
Martijn
Edit:
I made these screenshots from PhpStorm 2020.1 But I also had this problem using 2019.3
请先登录再写评论。
The thing is that this action attaches the PHP file to a console, and the PHP file's schema property (in the dropdown menu at the top of the file) has a priority over the console.
You can switch by choosing the other schema in the dropdown menu.
Meanwhile, I think it's a valid usability problem, please submit it to our tracker: https://youtrack.jetbrains.com/newIssue?project=WI