Re-commit of the sql connector

This was removed and recommitted because of issues with local machine