Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1401

Docker/guacamole-client: MySQL auth fails when MYSQL_PORT not set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.3.0
    • None

    Description

      Hi,

      I was trying to set up Guacamole in Kubernetes using both LDAP and MySQL. LDAP users could log in, but guacadmin could not. Manually assigning admin permissions to a LDAP  user via MySQL commands also wouldn't work. I suspected the MySQL connection was not working.

      So I looked at the guacamole.properties inside the guacamole container. It contained the line: mysql-port: tcp://<resolved-address-of-mysql-hostname>:3306. 

      I had not set the environment variable MYSQL_PORT, because the manual says it defaults to 3306. After I set MYSQL_PORT to 3306, the line in guacamole.properties changed to mysql-port: 3306, and I could log in as guacadmin.

      Additional information:

      I used guacamole/guacamole:1.3.0. as it was not clear whether the latest tag would provide a recent build of 1.3.0 or a development version.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              edwinistrator Edwin Mackenzie-Owen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: