Skip to content

Commit

Permalink
Add allowPublicKeyRetrieval=true to jdbc mysql access
Browse files Browse the repository at this point in the history
This is required the access to work on Ubuntu-20.04 (Focal),
where the default is not to allow public key retrieval.

Signed-off-by: Marko Lindqvist <[email protected]>
  • Loading branch information
cazfi committed Nov 1, 2021
1 parent a17b624 commit dbca0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/web.context.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<Resource name="jdbc/freeciv_mysql" auth="Container" type="javax.sql.DataSource"
maxTotal="100" maxIdle="30" maxWaitMillis="10000"
username="#DB_USER#" password="#DB_PASSWORD#" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/#DB_NAME#?serverTimezone=UTC&amp;useSSL=false"/>
url="jdbc:mysql://localhost:3306/#DB_NAME#?serverTimezone=UTC&amp;useSSL=false&amp;allowPublicKeyRetrieval=true"/>

</Context>

0 comments on commit dbca0ab

Please sign in to comment.