[testDBAgentMySQL] Remove a global variable to improve test independency.