This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch feature/mysql-backend in repository x2goserver. commit dd5c20fa2801a8d32112c14b84a1b94b9297ff22 Author: Mihai Moldovan <ionic@ionic.de> Date: Wed Feb 28 23:27:51 2018 +0100 x2goserver-common/etc/x2gosql/sql: add example MySQL section and add to "supported" backends list. --- debian/changelog | 2 ++ x2goserver-common/etc/x2gosql/sql | 14 +++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 20c276c..2c4e6be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -105,6 +105,8 @@ x2goserver (4.1.0.1-0x2go1) UNRELEASED; urgency=medium config for now. - X2Go/Server/DB.pm: error out when encountering MySQL server config for now. + - x2goserver-common/etc/x2gosql/sql: add example MySQL section and add to + "supported" backends list. * debian/{control,compat}: + Bump DH compat level to 9. * debian/: diff --git a/x2goserver-common/etc/x2gosql/sql b/x2goserver-common/etc/x2gosql/sql index 66a7f7d..3f42376 100644 --- a/x2goserver-common/etc/x2gosql/sql +++ b/x2goserver-common/etc/x2gosql/sql @@ -1,4 +1,4 @@ -#postgres or sqlite +# postgres or sqlite or mysql backend=sqlite [postgres] @@ -12,3 +12,15 @@ dbadmin=postgres #require: connect only with SSL #default - prefer ssl=prefer + +[mysql] +host=localhost +port=3306 +# database admin (must have permissions to create databases and users) +dbadmin=root +# hostmask for which connections will be allowed +# % is a wild card, as usually in MySQL +# wildcards and literal strings can be mixed, e.g., +# %.example.com allows connections from all +# remote hosts that match *.example.com. +unet=my.organization -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git