Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

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

$
0
0

@MeSo2 wrote:

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['MYSQLHOME'] 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.

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles