When attempting to install piwik, the first couple of pages are fine, but on “Database setup” I get the error:
Error while trying to connect to the database server:
No entry is registered for key ‘db’
The settings I’m attempting to use are (in field order):
(mysqli is the only option available in the form)
(I’ve also tried “localhost” the FQDN of the host, the IP, etc.)
I see in the forums a similar error with an older version of piwik and an inability to write the configuration file, permissions are correct for this to be written by the httpd uid.
Additionally, if I manually create config.ini.php with appropriate values, I get the following error:
The mysql driver is not currently installed
#0 /oanda/httpd/htdocs/piwik/libs/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /oanda/httpd/htdocs/piwik/core/Db/Pdo/Mysql.php(30): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /oanda/httpd/htdocs/piwik/core/Piwik.php(1473): Piwik_Db_Pdo_Mysql->getConnection()
#3 /oanda/httpd/htdocs/piwik/core/FrontController.php(218): Piwik::createDatabaseObject()
#4 /oanda/httpd/htdocs/piwik/index.php(90): Piwik_FrontController->init()
This is of course rather odd and vexing, as a simple php test script which connects to the database works without issue.