The mysql and postgres packages provide functions for connecting to MySQL and PostgreSQL databases for both on-premise and cloud-provided instances using the *sql.DB type from the Go standard library. Database connections opened using these packages will automatically collect diagnostic information via OpenCensus.

Top-level package documentation: and

Supported Providers🔗

For MySQL:

For PostgreSQL:

Usage Samples🔗