XF 2.2 New database port = MySQL server has gone away

Hello !

I had moved the port of our database from 3306 to 3307:
Code:
<?php
$config['db']['host'] = '10.10.10.1';
$config['db']['port'] = 3307;
$config['db']['username'] = 'forum';
$config['db']['password'] = 'xxxx';
$config['db']['dbname'] = 'forum';

Now i get the following error message:
Code:
An exception occurred: [XF\Db\Exception] MySQL statement prepare error [2006]: MySQL server has gone away in src/XF/Db/AbstractStatement.php on line 228

XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 150
XF\Db\AbstractAdapter->fetchOne() in src/XF/PermissionCache.php at line 32
XF\PermissionCache->getGlobalPerms() in src/XF/PermissionSet.php at line 35
XF\PermissionSet->hasGlobalPermission() in src/XF/Entity/User.php at line 1176
XF\Entity\User->hasPermission() in src/XF/Entity/User.php at line 626
XF\Entity\User->canSearch()
call_user_func_array() in src/XF/Template/Templater.php at line 1168
XF\Template\Templater->method() in internal_data/code_cache/navigation_cache.php at line 249
XF\Pub\App->{closure}() in src/XF/Template/Templater.php at line 7445
XF\Template\Templater->renderNavigationClosure() in src/XF/Pub/App.php at line 575
XF\Pub\App->getNavigation() in src/XF/Pub/App.php at line 526
XF\Pub\App->renderPageHtml() in src/XF/App.php at line 2142
XF\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 402
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
XF\App->run() in src/XF.php at line 488
XF::runApp() in index.php at line 20

Other applications on the server are moved without problems. It seems to be no network issue...

Has someone an idea, how i could resolve the problem ?
 
Top