1

I'm trying to deploy python django app on azure linux using azure cli and after deployment it is showing me database connectivity error for drivers. The error message is:

Can't open lib 'ODBC Driver 17 for SQL Server' : file not found (0 (SQLDriverConnect)") on Azure Linux

enter image description here

Zhorov
  • 28,486
  • 6
  • 27
  • 52
Kaushik
  • 11
  • 1
  • 2
  • Have you installed ODBC Driver 17 for SQL Server (for Linux)? Did you follow the instructions linked from [Creating REST API with Python, Django and Azure SQL](https://learn.microsoft.com/en-us/samples/azure-samples/azure-sql-db-django/azure-sql-db-django/) to configure Azure SQL connectivity? – AlwaysLearning Sep 21 '22 at 06:33

1 Answers1

1

If you on Ubuntu you can folow this link it helped Install the Microsoft ODBC driver for SQL Server (Linux)

Abednego
  • 599
  • 10
  • 17