Details
-
New Feature
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
With the python connector, we can do conn.connect() or conn.connect(default_file=) to connect to the database. This will automatically (great feature!) read cnf files in the same precedence as command line tools.
The problem is, as developers we don't know what these are, only that a connection is made.
There should be an object conn.defaults() or conn.configuration_settings() etc that can be used to understand what files, sections and variables are being used to create a connection.
This should work prior to conn.connect() and after. i.e. it will show what it would use to connect if it tries to connect. After connection, it would show what it used to connect.