Minor update to documentation for MySQL sessions

This commit is contained in:
David Gillies 2015-07-08 22:40:43 +10:00
parent 5d7c485991
commit 5cd1c5c522

View File

@ -327,7 +327,7 @@ This option should be configured differently depending on what type of
session provider you have configured. session provider you have configured.
- **file:** session file path, e.g. `data/sessions` - **file:** session file path, e.g. `data/sessions`
- **mysql:** go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name` - **mysql:** go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1:3306)/database_name`
- **postgres:** ex: user=a password=b host=localhost port=5432 dbname=c sslmode=disable - **postgres:** ex: user=a password=b host=localhost port=5432 dbname=c sslmode=disable
If you use MySQL or Postgres as the session store you need to create the If you use MySQL or Postgres as the session store you need to create the