fixed reconnection problem

Conflicts:
	lib/adapters/sql/mysql.js