Cannot connect to the database: The mysql driver is not currently installed

I moved my installation to a different server; database and code.

At first I copied only the database which was a mistake. I forgot that the code was from a previews version and did not mach the database structure. During login I was prompted of the mismatch. So I went ahead also copying the code over to the new server.

Now I am getting this error: The mysql driver is not currently installed

I am running Apache on a Win10 box.

phpinfo() reads:
MYSQL_HOME C:\Program Files\MariaDB 10.1\bin
mysqli.default_port 3306
$_SERVER[‘MYSQL_HOME’] C:\Program Files\MariaDB 10.1\bin
MySQL driver for PDO George Schlossnagle, Wez Furlong, Ilia Alshanetsky, Johannes Schlueter
MySQLi Zak Greant, Georg Richter, Andrey Hristov, Ulf Wendel
MySQLnd Andrey Hristov, Ulf Wendel, Georg Richter, Johannes Schlüter

config.ini.php:
[database]

port = 3306
adapter = PDO\MYSQL
type = InnoDB
schema = Mysql

php 7 will not support PHP configuration (php.ini): always_populate_raw_post_data=-1

What am I to do?

Thanks for your suggestions.

(sorry logged in as different name… not sure how that happened)

So I decided to reinstall Piwik, and after clicking on next (on the first page) I get to this error: Piwik encoutered an error: Maximum execution time of 30 seconds exceeded (which lead to: The mysql driver is not currently installed)

had to add this to php.ini to get it to work:
extension=php_mysqli.dll
extension=php_pdo_mysql.dll

I beleive the requirements state that you have to have that installed and working in your PHP installation.