README ¶ Using MySQL Install MySQL Download MySQL Community Server We will need a MySQL driver go get github.com/go-sql-driver/mysql read the documentation see all SQL drivers Astaxie's book Include the driver in your imports _ "github.com/go-sql-driver/mysql" Read the documentation Determine the Data Source Name user:password@tcp(localhost:5555)/dbname?charset=utf8 Read the documentation Open a connection db, err := sql.Open("mysql", "user:password@tcp(localhost:5555)/dbname?charset=utf8") package sql Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.