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
27
27
## Features
28
28
* Lightweight and [ fast] ( https://github.com/Go-SQL-Driver/SQL-Benchmark " golang MySQL-Driver performance ")
29
29
* Native Go implementation. No C-bindings, just pure Go
30
- * No unsafe operations * (e.g. type-conversions)*
31
30
* Connections over TCP/IPv4, TCP/IPv6 or Unix Sockets
32
31
* Automatic handling of broken connections
33
32
* Automatic Connection-Pooling * (by database/sql package)*
@@ -106,21 +105,22 @@ Possible Parameters are:
106
105
* _ (pending)_ <s >` compress ` </s >: will enable Compression
107
106
108
107
All other parameters are interpreted as system variables:
108
+ * ` autocommit ` : * "SET autocommit='` value ` '"*
109
109
* ` time_zone ` : * "SET time_zone='` value ` '"*
110
110
* ` tx_isolation ` : * "SET [ tx_isolation] ( https://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_tx_isolation ) ='` value ` '"*
111
111
* ` param ` : * "SET ` param ` =` value ` "*
112
112
113
113
### Examples
114
114
```
115
- user@unix(/path/to/socket)/dbname?charset=utf8
115
+ user@unix(/path/to/socket)/dbname
116
116
```
117
117
118
118
```
119
- user:password@tcp(localhost:5555)/dbname?charset=utf8mb4, utf8
119
+ user:password@tcp(localhost:5555)/dbname?charset=utf8&autocommit=true
120
120
```
121
121
122
122
```
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
124
124
```
125
125
126
126
```
You can’t perform that action at this time.
0 commit comments