I would check your mysql db user and password that you are using and make sure it is correct for that database with the correct permissions. Looks like it can't connect to it. (I saw that it passed first, but it isn't writing to it for some reason).

Dunny