Skip to content

Commit a561980

Browse files
committed
added Amazon RDS example.
I wasted my time to setup Amazon RDS. I think this example is useful to others.
1 parent 589f54c commit a561980

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Arne Hormann <arnehormann at gmail.com>
1515
Hanno Braun <mail at hannobraun.com>
1616
James Harr <james.harr at gmail.com>
1717
Julien Schmidt <go-sql-driver at julienschmidt.com>
18+
Leonardo YongUk Kim <dalinaum at gmail.com>
1819
Lucas Liu <extrafliu at gmail.com>
1920
Luke Scott <luke at webconnex.com>
2021
Michael Woolnough <michael.woolnough at gmail.com>

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ user@unix(/path/to/socket)/dbname
223223
```
224224

225225
```
226-
root:pw@unix(/tmp/mysql.sock)/myDatabse?loc=Local
226+
root:pw@unix(/tmp/mysql.sock)/myDatabase?loc=Local
227227
```
228228

229229
```
@@ -235,6 +235,11 @@ TCP via IPv6:
235235
user:password@tcp([de:ad:be:ef::ca:fe]:80)/dbname?timeout=90s
236236
```
237237

238+
TCP on a remote host, e.g. Amazon RDS:
239+
```
240+
id:password@tcp(your-amazonaws-uri.com:3306)/dbname
241+
```
242+
238243
TCP using default port (3306) on localhost:
239244
```
240245
user:password@tcp/dbname&charset=utf8mb4,utf8&sys_var=esc%40ped

0 commit comments

Comments
 (0)