package godrv
import "github.com/ziutek/mymysql/godrv"
MySQL driver for Go sql package
Index ¶
Functions ¶
func Register ¶
func Register(query string)
Registers initialisation commands. This is workaround, see http://codereview.appspot.com/5706047
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) Open ¶
Open new connection. The uri need to have the following syntax:
[PROTOCOL_SPECFIIC*]DBNAME/USER/PASSWD
where protocol spercific part may be empty (this means connection to local server using default protocol). Currently possible forms:
DBNAME/USER/PASSWD unix:SOCKPATH*DBNAME/USER/PASSWD tcp:ADDR*DBNAME/USER/PASSWD
Source Files ¶
- Version
- v1.0.2
- Published
- Nov 15, 2012
- Platform
- windows/amd64
- Imports
- 13 packages
- Last checked
- 1 hour ago –
Tools for package owners.