Proton
Connect & Read data from a Timeplus Proton database
Setup
requires v1.2.7
The following credentials keys are accepted:
host(required) -> The hostname / ip of the instancedatabase(required) -> The database name of the instanceuser(optional) -> The username to access the instanceschema(optional) -> The default schema to usepassword(optional) -> The password to access the instanceport(optional) -> The port of the instance. Default is8463.ssh_tunnel(optional) -> The URL of the SSH server you would like to use as a tunnel (examplessh://user:[email protected]:22)ssh_private_key(optional) -> The private key to use to access a SSH server (raw string or path to file).ssh_passphrase(optional) -> The passphrase to use to access a SSH server.
Using sling conns
sling connsHere are examples of setting a connection named PROTON. We must provide the type=proton property:
$ sling conns set PROTON type=proton host=<host> user=<user> database=<database> password=<password> port=<port>
# OR use url
$ sling conns set PROTON url="proton://myuser:[email protected]:8463/mydatabase"
Environment Variable
export PROTON='proton://myuser:[email protected]:8463/mydatabase'
export PROTON='{ type: proton, user: "myuser", password: "mypass", host: "host.ip", port: 8463, database: "mydatabase" }'Sling Env File YAML
See here to learn more about the sling env.yaml file.
connections:
PROTON:
type: proton
host: <host>
user: <user>
port: <port>
database: <database>
schema: <schema>
password: <password>
PROTON_URL:
url: "proton://myuser:[email protected]:8463/mydatabase"If you are facing issues connecting, please reach out to us at [email protected], on discord or open a Github Issue here.
Last updated
Was this helpful?