Skip to content

Commit ff81dbf

Browse files
committed
Merge pull request symfony#2037 from WouterJ/patch-26
Added full PDO sessionstorage configuration
2 parents 7f3f422 + b9ff20e commit ff81dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/configuration/pdo_session_storage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ parameter.ini by referencing the database-related parameters defined there:
131131
pdo:
132132
class: PDO
133133
arguments:
134-
- "mysql:dbname=%database_name%"
134+
- "mysql:host=%database_host%;port=%database_port%;dbname=%database_name%"
135135
- %database_user%
136136
- %database_password%
137137

0 commit comments

Comments
 (0)