Skip to content

Replacing the Postgres db with Azure SQL Server? #34

@BillmanH

Description

@BillmanH

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

I'm looking to connect with the regular Azure SQL Server db instead of the Postgres db, However I'm running into an issue regarding the ODBC connector. In VMs and local I'm able to install the required ODBC connector via the docs that are there which are complete and accurate. Is there a way to deploy the needed tools via the build_and_deploy.yaml template that you have? Or is the ODBC driver simply not available through the app service?

the specificic error is this:

django.db.utils.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 13 for SQL Server' : file not found (0) (SQLDriverConnect)")

But that's obvious given that the App Service never installed the ODBC driver. My question is: where does that step go and where in the deploy.yaml file would it go?

OS and Version?

ubuntu-latest

I'm basically using a clone of the deployment you have. The full code is here, but the deployment is the same.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions