Python Connection MSSQL AWS Lambda

0

I'm trying to connect a lambda function in AWS, to an MSSQL database with no results

I'm using the pyodbc library, but it gives me the following problems

from datetime import datetime
from dateutil.parser import parse
from os import getenv
import pyodbc    

conn =pyodbc.connect('DRIVER={./libmsodbcsql-13.0.so.1.0};SERVER='+rds_host+';DATABASE='+db_name+';UID='+name+';PWD='+password+'')

elif

Zip Folder

Lambda error

I tested the connection in a docker container and it runs smoothly

Thanks for your help

    
asked by user2044105 17.05.2018 в 23:09
source

0 answers