File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ A MySQL-Driver for Go's [database/sql](http://golang.org/pkg/database/sql) packa
2727## Features
2828 * Lightweight and [ fast] ( https://github.com/Go-SQL-Driver/SQL-Benchmark " golang MySQL-Driver performance ")
2929 * Native Go implementation. No C-bindings, just pure Go
30- * No unsafe operations * (e.g. type-conversions)*
3130 * Connections over TCP/IPv4, TCP/IPv6 or Unix Sockets
3231 * Automatic handling of broken connections
3332 * Automatic Connection-Pooling * (by database/sql package)*
@@ -106,21 +105,22 @@ Possible Parameters are:
106105 * _ (pending)_ <s >` compress ` </s >: will enable Compression
107106
108107All other parameters are interpreted as system variables:
108+ * ` autocommit ` : * "SET autocommit='` value ` '"*
109109 * ` time_zone ` : * "SET time_zone='` value ` '"*
110110 * ` tx_isolation ` : * "SET [ tx_isolation] ( https://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_tx_isolation ) ='` value ` '"*
111111 * ` param ` : * "SET ` param ` =` value ` "*
112112
113113### Examples
114114```
115- user@unix(/path/to/socket)/dbname?charset=utf8
115+ user@unix(/path/to/socket)/dbname
116116```
117117
118118```
119- user:password@tcp(localhost:5555)/dbname?charset=utf8mb4, utf8
119+ user:password@tcp(localhost:5555)/dbname?charset=utf8&autocommit=true
120120```
121121
122122```
123- user:password@tcp([de:ad:be:ef::ca:fe]:80)/dbname
123+ user:password@tcp([de:ad:be:ef::ca:fe]:80)/dbname?charset=utf8mb4,utf8
124124```
125125
126126```
You can’t perform that action at this time.
0 commit comments