Unable to connect to ZM DB could not find driver
Posted: Fri May 01, 2020 3:20 am
Running Debian Buster (recent, successful, upgrade from Stretch). Upgraded ZM from 1.30.4. Everything appears to be running correctly (OS, web server, mysql and ZM) except that I am unable to connect up to ZM via the web. From a web browser (run from a remote location; server is headless, so cannot really test a browser on it) I am getting: Unable to connect to ZM db.could not find driver
PHP Version => 7.3.14-1~deb10u1
Only error that I can find is in the apache2 error log:
[Thu Apr 30 18:03:00.829219 2020] [:error] [pid 645] [client 107.242.121.41:37436] Unable to connect to ZM DB could not find driver
[Thu Apr 30 18:03:00.829327 2020] [:error] [pid 645] [client 107.242.121.41:37436] PHP Fatal error: Uncaught Error: Call to a member function query() on null in /usr/share/zoneminder/www/includes/config.php:165\nStack trace:\n#0 /usr/share/zoneminder/www/includes/config.php(140): loadConfig()\n#1 /usr/share/zoneminder/www/index.php(46): require_once('/usr/share/zone...')\n#2 {main}\n thrown in /usr/share/zoneminder/www/includes/config.php on line 165
Where should I look?
PHP Version => 7.3.14-1~deb10u1
Only error that I can find is in the apache2 error log:
[Thu Apr 30 18:03:00.829219 2020] [:error] [pid 645] [client 107.242.121.41:37436] Unable to connect to ZM DB could not find driver
[Thu Apr 30 18:03:00.829327 2020] [:error] [pid 645] [client 107.242.121.41:37436] PHP Fatal error: Uncaught Error: Call to a member function query() on null in /usr/share/zoneminder/www/includes/config.php:165\nStack trace:\n#0 /usr/share/zoneminder/www/includes/config.php(140): loadConfig()\n#1 /usr/share/zoneminder/www/index.php(46): require_once('/usr/share/zone...')\n#2 {main}\n thrown in /usr/share/zoneminder/www/includes/config.php on line 165
Where should I look?