Sql connection. (in progress)