Send init_command and sql_mode when reconnect.