Setting the connection.type value for new mysql connection created via dbeaver cli
0
votes
0
answers
15
views
I have a script that creates a new dbeaver connection using the dbeaver command line utility (on osx), and I'm having a hard time creating it with a custom
connection.type
.
I've tried a few different things:
1. Defining it in the connection string using multiple different keys/names:
- ...|type=prod|...
- ...|connectionType=prod|...
- ...|connection.type=prod|...
- ...|prop.type=prod|...
- ...|prop.connectionType=prod|...
- ...|prop.connectiontype=prod|...
2. Tried using a params.properties
file: /Applications/DBeaver.app/Contents/MacOS/dbeaver -vars params.properties -connect "driver=mysql|..."
with the contents:
connection.type=prod
connectionType=prod
type=prod
connectionType=prod
connection.type=prod
I also deleted the existing connection just to make sure this gets created (instead of modifying an existing connection).
None of the above seemed to work. Does anyone know how to set the connection.type
from the _dbeaver_ command?
Asked by J H
(1 rep)
Jan 28, 2025, 04:31 PM