dbeaver / dbeaver/dbeaver

Starting with CLI parameters DB password will not be prompted

Open
#18,948 1 comment 0 reactions 0 assignees View on GitHub
enhancement xf:cli
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 8h
Merged PRs (30d)
188

Description

### Description

I try to start an adhoc connection with cli parameters and the password is not prompted on the GUI.
Connection string:
dbeaver.exe -con 'driver=oracle_thin|host=some.server.net|port=1521|database=DB_DEF|name=oracledb|openConsole=true|auth=oracle_native|user=MYUSER'

I would like skip the password parameter, but the GUI won't show a prompt for it and the login fails due to empty password:
Connection to 'oracledb' cannot be established.
Reason:
ORA-01005: null password given; logon denied

I've checked the driver settings and Empty password are not allowed.

### DBeaver Version

CE 22.3.2.202301060755

### Operating System

Windows 2019

### Database and driver

Oracle Thin from MAVIS 12.2.0.1

### Steps to reproduce

Invoke the cli command

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.