Fix mysql command to prevent tests hanging