Installer: support mysqlnd persistent connections #3126
Labels
c: Performance
For when we could improve the performance / speed of Matomo.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
For mysqli, you only have to prepend host with "p:" but currently, must edit config.ini.php manually to do so.
We should allow this at time of installation. However, in plugins/Installation/Controller.php databaseSetup() tries to parse a port if a colon is present, and so incorrectly splits this into host=p, port=localhost.
For PDO, I believe we have to set persistent = true.
The text was updated successfully, but these errors were encountered: