Use db:reset instead of calling mysql directly.