[Mono-list] Connecting to Oracle as SYSDBA
Veerapuram Varadhan
vvaradhan at novell.com
Mon Nov 22 21:02:20 EST 2010
Hi,
Please file a bug report and attach a sample standalone test case.
Thanks,
V. Varadhan
On Mon, 2010-11-22 at 22:35 +0100, Marc Puts wrote:
> Hi list,
>
> I'm trying to create a privileged connection to an Oracle database using
> the following line:
>
> using System.Data.OracleClient;
> ...
> 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
> privileged connections.
>
> Connecting as a normal user (without the DBA Privilege part) works with
> no problems.
>
> I'm using Mono 2.6.7 on Ubuntu 10.10.
>
> Any pointers on how to do this?
> Thanks!
>
> Regards,
> Marc
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list