Documentation ¶
Overview ¶
Package cloudsql exposes access to Google Cloud SQL databases.
This package is intended for MySQL drivers to make App Engine-specific connections.
Applications should use this package through database/sql: Select a pure Go MySQL driver that supports this package, and use sql.Open with protocol "cloudsql" and an address of the CloudSQL instance. The exact format of the second argument to sql.Open is driver-dependent; consult the driver's documentation for details.
Example:
import "database/sql" import _ "<some mysql package>" db, err := sql.Open("mysql", "cloudsql:my-instance*dbname/user/passwd")
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.