Generate connection strings for various database systems including PostgreSQL, MySQL, MongoDB, SQLite, Redis, and SQL Server.
Database connection strings are URI-formatted strings that contain information needed to establish a connection to a database. They typically include:
protocol://username:password@host:port/database?param1=value1¶m2=value2
jdbc:protocol://host:port/database
protocol+driver://username:password@host:port/database
| Database | Default Port |
|---|---|
| PostgreSQL | 5432 |
| MySQL / MariaDB | 3306 |
| MongoDB | 27017 |
| SQL Server | 1433 |
| Redis | 6379 |
| Oracle | 1521 |