feat(oracle): add SYSDBA authentication support

Switch oracle-rs to t8y2/oracle-rs fork with SYSDBA support.
Add sysdba field to ConnectionConfig and a checkbox in the
Oracle connection dialog to enable connecting as SYS with
SYSDBA privileges.
This commit is contained in:
t8y2
2026-05-06 13:23:56 +08:00
parent 746a4c491a
commit e315c4ad36
8 changed files with 60 additions and 5 deletions
@@ -794,6 +794,14 @@ async function browseSshKeyPath() {
</p>
</div>
<div v-if="form.db_type === 'oracle'" class="grid grid-cols-4 items-center gap-4">
<Label class="text-right text-xs">SYSDBA</Label>
<label class="col-span-3 flex items-center gap-2 cursor-pointer">
<input type="checkbox" v-model="form.sysdba" class="mr-0" />
<span class="text-xs text-muted-foreground">as SYSDBA</span>
</label>
</div>
<div
v-if="form.db_type === 'mysql' || form.db_type === 'postgres'"
class="grid grid-cols-4 items-center gap-4"
+1
View File
@@ -35,6 +35,7 @@ export interface ConnectionConfig {
ssh_key_passphrase?: string;
ssh_expose_lan?: boolean;
ssl?: boolean;
sysdba?: boolean;
connection_string?: string;
}