Add a simple MySQL check for anonymous users and test database.

Also provide some easy helpers to add good or bad advises.
We can consider update assessors to use them in a next commit.