Fix MYSQL queries.

Additional error reporting in CreateAccount method.