[Release 3.0] update mysql2 0.3.17

PR #2381