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

generic sql auth #2288

Closed
totaam opened this issue May 5, 2019 · 2 comments
Closed

generic sql auth #2288

totaam opened this issue May 5, 2019 · 2 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented May 5, 2019

Based on sqlalchemy.

@totaam
Copy link
Collaborator Author

totaam commented May 5, 2019

Done in r22622.

This backend is called just sql. ie: --tcp-auth=sql:uri=mysql://xpra:xpra@localhost/xpra.

This backend requires the sqlalchemy python bindings to be installed, ie on Fedora with Python3: sudo dnf install python3-sqlalchemy.

Tested with mysql, using the same steps as #2287.
It should work equally well with other backends, though the command line interface tool assumes that the paramstyle is %s. Use the env var PARAMSTYLE to override this.

@totaam
Copy link
Collaborator Author

totaam commented May 6, 2019

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

No branches or pull requests

1 participant