try specifically granting as so
That error means it does not have the permissions it needs. With 777 user no longer matters. Anyone can read write execute in that location. Its a MySQL permission issue you have not web server.
Edit: The key is *.* for file permission for the user. It cant be YourPiwikDB.* has to be *.*
grant file on *.* to piwik@localhost
That error means it does not have the permissions it needs. With 777 user no longer matters. Anyone can read write execute in that location. Its a MySQL permission issue you have not web server.
Edit: The key is *.* for file permission for the user. It cant be YourPiwikDB.* has to be *.*