[Flask] Connecting to 2 servers

Larry Martell larry.martell at gmail.com
Mon Aug 12 10:27:48 EDT 2019


On Fri, Aug 9, 2019 at 5:30 PM Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
>
> On Fri, 9 Aug 2019 15:09:48 -0400, Larry Martell
> <larry.martell at gmail.com> declaimed the
> following:
>
> >
> >What am I doing wrong?
>
>         Well... Among other things, withholding information...
>
>         What is the connection string? And have you TESTED the connection
> string without the overhead of SQLAlchemy?

Yes, I can connect to the DB outside of the flask app. Here is the
connection string:

mssql+pyodbc://user:password@host/DSE_Rep.rep?driver=SQL+Server+Native+Client+10.0

I have never used flask/SQLAlchemy with MS SQL before - could the
DSE_Rep.rep be the issue? How can I specify that hierarchy?


More information about the Flask mailing list