Skip to content

Commit b9ff20e

Browse files
committed
Added full PDO sessionstorage configuration (closes symfony#2035)
1 parent 774e7da commit b9ff20e

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)