How could I get JDBC connection information by API in database tools and DataGrip
Hi, I'm developing a plugin for analysis SQL, and I need JDBC connection information for analysis SQL, so I could I get url,username, password etc. information. Is there have an API or other method to get this?
Please sign in to leave a comment.
What I need is url, port, database, username and password form datasource.
I used a plugin named Soar (https://github.com/XiaoMi/soar), it is a SQL performance tool used in bash ; And I'm developing a plugin in IDEA for this, and Soar need database configuration for accurate result; So I think if IDEA or DataGrip can provide configuration would be better for user that don't need configure again
For now, we do not provide any connectivity API, because it is still highly unstable. Also you won't be able to get a datasource password because of security.
What are you trying to gain from connection?