Your post says you are using “Magento 2 SQL” but the error refers to a Microsoft SQL DB. Are you trying to connect to a Magento 2 SQL using a Microsoft SQL connector? That will not work. If there isn’t a Magento 2 SQL connector, you will need to use odbc.