I'm attempting to install Piwik and am getting the following error at the "Database Check" step.
Test SQL failed to execute: CREATE TABLE piwik_test_table ( id INT AUTO_INCREMENT, value INT, PRIMARY KEY (id), KEY index_value (value) ) Error: SQLSTATE[HY000]: General error: 1 Can't create/write to file '/var/piwik/piwik_test_table.MYI' (Errcode: 2)
My permissions are set to 775 for folders, and 644 for files. Ownership is set according to what my host specifies for php writing (I set web server ownership for index.php, the tmp folder, and the config folder).
I tried switching the adapter to mysqli but I just get another error saying the INSERT test failed because the tables do not exist.
Another note that may be relevant, my host requires the database server name to be of the following form: database.db. Not sure if that's causing these problems or not.
I appreciate any help.
Test SQL failed to execute: CREATE TABLE piwik_test_table ( id INT AUTO_INCREMENT, value INT, PRIMARY KEY (id), KEY index_value (value) ) Error: SQLSTATE[HY000]: General error: 1 Can't create/write to file '/var/piwik/piwik_test_table.MYI' (Errcode: 2)
My permissions are set to 775 for folders, and 644 for files. Ownership is set according to what my host specifies for php writing (I set web server ownership for index.php, the tmp folder, and the config folder).
I tried switching the adapter to mysqli but I just get another error saying the INSERT test failed because the tables do not exist.
Another note that may be relevant, my host requires the database server name to be of the following form: database.db. Not sure if that's causing these problems or not.
I appreciate any help.