Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyDAL for Azure MySQL #712

Open
rogeriosantosluz opened this issue Sep 1, 2023 · 0 comments
Open

PyDAL for Azure MySQL #712

rogeriosantosluz opened this issue Sep 1, 2023 · 0 comments

Comments

@rogeriosantosluz
Copy link

Hi I'd like to suugest two things to make PyDAL work with MySQL Azure:

  1. Adjust REGEX_URI on MySQL class to accept user with "@", required for Azure MySQL connections
    "^(?P<user>[^:]+)(:(?P<password>[^@]*))?" will work
  2. Make uriargs accept an extra argument called ssl_ca that will point to DigiCertGlobalRootG2.crt
    self.driver_args["ssl"] = {"ssl-ca": ssl_ca}
    mysql.txt

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant