Explorar o código

Merge pull request #2308 from davewongillies/config_mysql_sessions

Minor update to documentation for MySQL sessions
Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
afcc388d8a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/sources/installation/configuration.md

+ 1 - 1
docs/sources/installation/configuration.md

@@ -327,7 +327,7 @@ This option should be configured differently depending on what type of
 session provider you have configured.
 
 - **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
 
 If you use MySQL or Postgres as the session store you need to create the