四、pycharm报错No data sources are configured to run this SQL and provide advanced code assistance。(p...

1、实际情况如图所示

2、通过菜单打开Data Sources and Driver 窗口的方法。(在PyCharm菜单中,View-->Tool Windows --> database-->按+号-->Data Source-->PostgreSQL)



3、设置好后又报这个 SQL dialect is not configured .


解决方法:

在File---->Setting--->Languages & Frameworks--->SQL Dialects中,选择对应的数据库,如MySQL,之后点击保存即可。


4、后又报这个,unable to resolve column  'header_interdace'

inspection info : this inspection performs unresolved sql references check


你可能感兴趣的:(四、pycharm报错No data sources are configured to run this SQL and provide advanced code assistance。(p...)