1

Roundhouse を使用して sysdba として接続したいのですが、既に試しました

conn.ConnectionString = "Driver={Microsoft ODBC for Oracle};SERVER=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521))(CON
NECT_DATA=(SERVICE_NAME=orcl)));uid=scott;pwd=tiger**;as sysdba**"

腸はこの例外を得ました

RoundhousE encountered an error.
System.ArgumentException: Format of the initialization string does not conform t
o specification starting at index 202.
   at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionSt

も試した

conn.ConnectionString = "Driver={Microsoft ODBC for Oracle};SERVER=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521))(CON
NECT_DATA=(SERVICE_NAME=orcl)));uid=scott;pwd=tiger;**DBA Privilege=SYSDBA;"**

しかし、例外は

RoundhousE encountered an error.
System.ArgumentException: Keyword not supported: 'dba privilege'.

助言がありますか?

前もって感謝します

4

1 に答える 1

1

ConnectionStringAdmin要素の設定を使用して<Roundhouse>、管理接続文字列を設定できます。ユーザーを使用してみましSystemたが、別の問題に遭遇しました。Stackoverflow hereとプロジェクトページhereで質問しました。

ただし、私の問題は新しいデータベースの作成に関連していましたが、そこで指定した構成設定が機能する可能性があります。

于 2013-03-20T23:56:29.540 に答える