Select Connection Fails for sql file

This has worked before. It's a file on disk and I want to select a connection for the file - but all I get is that there are no valid connections?

 

On the left side, you can see all my connections...?

 

When I click DB Connections, seemingly there are no connections setup?

4 comments
Comment actions Permalink

Hello,

What is the SQL Dialect set for file? Plerase make sure it is set to Oracle (if you want to use Oracle connection). Does it help? 

0
Comment actions Permalink

I was unable to set SQL Dialect for the file. No such option.

I've used to be able to both set the dialect and connection before ... 

0
Comment actions Permalink

Have you installed any 3rd plugins? It looks like SQL file type is associated with another language. Please check that the *.sql pattern is associated with SQL in the settings in File | Settings | Editor | File Types:

The action then should be available from the file context menu:

0
Comment actions Permalink

You're right, it was assosiacted with DBN (database navigator ?)

I removed it, and when opening the file I am getting the message

I had to manually assign the file type and now it seems to work as usual.

 

0

Please sign in to leave a comment.