How to create a connection pool using the sys user? #70
-
Anyone known how to create a connection pool using the sys user? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In Thin mode, this works:
Thin mode doesn't support 'Bequeath' connections, so you always need to give a connection string. This also means you need to give the SYS user and actual SYS password. I can see some things I think are buglets with Thick mode. I'll pass them onto @anthony-tuininga The real question: why do you want to create lots of privileged connections? |
Beta Was this translation helpful? Give feedback.
-
You can currently use SYSDBA via standalone connections in Thin and Thick modes, and via pooled connections in Thin mode. In Thin mode you will always need to pass the credential and connection string, because this mode doesn't support Oracle's 'Bequeath' connections. In Thick mode you can pass credentials and connection string, or optionally use OS authentication. The following code works when python-oracledb uses the client libraries in $ORACLE_HOME:
|
Beta Was this translation helpful? Give feedback.
You can currently use SYSDBA via standalone connections in Thin and Thick modes, and via pooled connections in Thin mode. In Thin mode you will always need to pass the credential and connection string, because this mode doesn't support Oracle's 'Bequeath' connections. In Thick mode you can pass credentials and connection string, or optionally use OS authentication. The following code works when python-oracledb uses the client libraries in $ORACLE_HOME: