MySQL - wrong data source

I've switched to a different database (vegas2 in my diagram), but PHPStorm is not prompting with table names from the new source. How do I force it to use the new source? It is the default schema.

 

 

I've tried the restart/invalidate caches option with no joy.

0
2 comments

Hi there,

AFAIK you may need to check what you have at "Settings/Preferences | Languages & Frameworks | SQL Resolution Scopes" (not 100% sure though)

https://blog.jetbrains.com/datagrip/2017/03/22/datagrip-2017-1-released/ -- it's for DataGrip .. but most (if not all) will be applicable to PhpStorm as well.

2

Thank you so much.

Not sure I fully understand the purpose of this yet, but thank you for pointing it out. I'd never have found that tucked away. 

Great product but when new features break existing behaviour without explanation it can be infuriating!

0

Please sign in to leave a comment.