[testDBAgentMySQL] Fix a problem that causes an error.

The previous code causes an error if there's a table with the same
name in an another database.