On Fri, Mar 3, 2023 at 3:37 AM Fischer, Manuel
<[email protected]> wrote:
>
> Thanks for reply.
>
> > This is already covered in the manual - the section you mentioned in the 
> > JDBC chapter of the manual contains instructions for each of the databases 
> > (MySQL, Postgres, and SQL Server) for creating a user and granting that 
> > user access to the database.
>
> In my opinion, the documentation is a bit unclear in this point. For people 
> which don’t have to do with DBs often, the documentation should be clarified 
> that some queries should be done on the postgres system db and some on the 
> newly created guacamole_db. Now, that I know that it should be done this way, 
> it totally makes sense, but like I said, this is not easy to identify for 
> some people.

To me the examples in the documentation are clear - the database
creation process uses the "createdb" command, which abstracts much of
the SQL syntax for creation away, giving it a OS-type command, and
then the example for granting access and importing files specifies the
guacamole database on the command line.

That said, the documentation is certainly not perfect, and we always
welcome contributions to it to help clarify and make things easier for
people to understand. If there are changes you think could be made to
help improve it - even just adding simple language like "connect to
the Guacamole database", etc., please feel free to open a Jira issue
and pull request for those items and we'll work through them together.
Your feedback and participation in making it better would be great,
and would be a help to the community.

>
> >There is nothing wrong with the code in the git repository - you are using a 
> >link to a specific tag for the 0.9.10-incubating version of Guacamole, which 
> >is, indeed, very old. You should either use the SQL Scripts included in the 
> >JDBC download for the version of Guacamole you're running, or use the SQL 
> >file produced by running the initdb script. Please note, running the initdb 
> >script does not actually initialize the database, it just produces a .sql 
> >file that you can then use as the input for either mysql or psql commands to 
> >initialize the database yourself.
>
> Yes, I found the link on the official guacamole docker pager under postgres 
> and mysql. One of the maintainers should update both links please. Maybe to a 
> point, where you can always find the latest version, not a specific one. See: 
> https://hub.docker.com/u/guacamole

Ah, okay, I see what you're saying - the "How to Use This Image"
section documents much of that with very outdated links. We'll see
what needs to be done to update that. I would suggest that you use the
official documentation - the user guide - but we should certainly
either update the Docker pages or clean them up and point people back
to the manual

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to