#2288 closed enhancement (fixed)
generic sql auth
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 3.0 |
Component: | server | Version: | 2.5.x |
Keywords: | Cc: |
Description
Based on sqlalchemy.
Change History (3)
comment:1 Changed 22 months ago by
Status: | new → assigned |
---|
comment:2 Changed 22 months ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2288
Note: See
TracTickets for help on using
tickets.
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 varPARAMSTYLE
to override this.