Database-forbindelsesstreng-generator

Generér forbindelsesstrenge til MySQL, PostgreSQL, MongoDB, Redis, MSSQL, SQLite og Oracle med konfigurerbare indstillinger

Al behandling sker i din browser. Ingen data uploades.
Offline Ready

Database-forbindelsesstreng-generator

Generér forbindelsesstrenge til MySQL, PostgreSQL, MongoDB, Redis, MSSQL, SQLite og Oracle med konfigurerbare indstillinger

🔒Al behandling sker i din browser. Ingen data uploades.
Databasetype
PostgreSQL
Konfiguration
key=value&key2=value2
Genererede forbindelsesstrenge
URI
Standard URI-forbindelsesstrengformat
postgresql://admin:secret@localhost:5432/mydb
Nøgle-værdi
PostgreSQL libpq nøgle-værdi-forbindelsesstrengformat
host=localhost port=5432 dbname=mydb user=admin password=secret
JDBC
JDBC-forbindelsesstreng til Java-applikationer
jdbc:postgresql://localhost:5432/mydb?user=admin&password=secret
Python (psycopg2)
Python-driver-forbindelsesformat
psycopg2.connect(
    host="localhost",
    port=5432,
    dbname="mydb",
    user="admin",
    password="secret"
)