mysql invocation was wrong