Installation >> "2. System Check" is throwing a "1046 No database selected" error

I am using the latest version XAMPP to host this application. I created a piwik table in the mysql database and a user. I then manually added the config.ini.php file which is empty and I get the following error. I am running on my local windows box.

Piwik encoutered an error: Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected)

Please help, I have tried everything I know to try.

I am having the same issue, did you find any solution ?

I solved it ! change the max_execution time in your php.ini to a larger number. I changed mine from 30 to 90 and it worked. Hope it helps!

1 Like

Nova! That worked for me as well. Thank you so much for the tip! This had me stumped for some time.

Thanks again!