How can I connect to an Oracle database as SYSDBA using dbExpress?

I have a Delphi application that connects to an oracle database. A.

When I try to log in as SYSDBA, I get an error message:

ORA-28009: connection as SYS should be as SYSDBA or SYSOPER

When I try to log in with the user "SYS AS SYSDBA", I get an error message:

ORA-01017: invalid username/password; logon denied

How can I login as sysdba using the dbExpress connection?

See also this article on ADO.

+3
source share
3 answers

dbexpress. DBA SYSDBA.

Connection.Params.Append('DBA Privilege=SYSDBA'); 

delphi . .

, . ​​

+5

"Joseph as SYSDBA" Joseph

, , . .

+1

Source: https://habr.com/ru/post/1707702/


All Articles