2

I have a python application with flask but I can't connect to the mysql database that is on Azure.

My config.py

SQLALCHEMY_DATABASE_URI = 'mysql://user@mysqlsvr:[email protected]:3306/flask_db'

Any suggestion?

1 Answer 1

2

I downloaded the certificate and it worked

Follow

SQLALCHEMY_DATABASE_URI = 'mysql://user@mysqlsvr:[email protected]:3306/flask_db?ssl_ca=BaltimoreCyberTrustRoot.crt.pem'

Sign up to request clarification or add additional context in comments.

1 Comment

This is the best answer ofther this forum... Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.