Closed bvmensvoort closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity
The results page does work in SQLite, but doesn't with MySQL. Error message shows 'could not find driver'.
Expected Behavior
When loading
results/stats.php
and logging in with web password, I expect a message that no results exist or a list of results.Current Behavior
Instead a (general) error message is shown.
When using MySQL environment vars and dbtype mysql, an error message appears (when turning on error_reporting): Error could not find driver. When looking in Google, I stumble upon [https://stackoverflow.com/questions/2852748/pdoexception-could-not-find-driver](). And indeed in
/etc/php7/php.ini
theextension=pdo_mysql
is commented. I wasn't able to test this solution, unfortunately. But it looks spot on.Steps to Reproduce
dbtype=mysql
Environment
OS: Docker CPU architecture: arm64 How docker service was installed:
Command used to create docker container (run/create/compose/screenshot)
Via Docker Swarm, with compose file and image:
linuxserver/librespeed:arm64v8-5.2.5
Using, among others:Docker logs
no relevant logging after the container is started. Not even when visiting
/results/stats.php