Doc fix port for mysql

This commit is contained in:
Milos Stojanovic
2020-03-15 11:03:26 +01:00
parent bceea62a5f
commit 282350d656

View File

@@ -43,7 +43,7 @@ Then, open `configuration.php` and update Session handler to:
'config' => [
'handler' => function () {
$handler = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler(
'mysql://root:password@localhost:3360/filegator'
'mysql://root:password@localhost:3306/filegator'
);
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([], $handler);
@@ -82,7 +82,7 @@ For example you can pass `cookie_lifetime` parameter to extend default session l
'config' => [
'handler' => function () {
$handler = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler(
'mysql://root:password@localhost:3360/filegator'
'mysql://root:password@localhost:3306/filegator'
);
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([