[Mono-list] Connecting to Oracle as SYSDBA
marc.puts at realtimesolutions.nl
Mon Nov 22 16:35:24 EST 2010
I'm trying to create a privileged connection to an Oracle database using
the following line:
var con = new System.Data.OracleConnection("Data
Source=192.168.5.1/TMP;User ID=sys;Password=xxxxxx;DBA Privilege=SYSDBA");
However, this line throws an ArgumentException: "Connection parameter
not supported: 'DBA PRIVILEGE'".
I've also tried creating a connection string using the
OracleConnectionStringBuilder class, but it also doesn't seem to feature
Connecting as a normal user (without the DBA Privilege part) works with
I'm using Mono 2.6.7 on Ubuntu 10.10.
Any pointers on how to do this?
More information about the Mono-list