Skip to content

Commit 3be6efb

Browse files
committed
Allow public key retrieval for MySQL in JRuby
Not sure why this is required for GitHub actions, but it is...
1 parent a3777b2 commit 3be6efb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

specs/adapters/mysql2_adapter_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
password: ENV["MYSQL_PASSWORD"]
99
}
1010

11+
if defined? JRUBY_VERSION
12+
config[:properties] ||= {}
13+
config[:properties]["allowPublicKeyRetrieval"] = true
14+
end
15+
1116
configure_database(config)
1217
recreate_database("spectacles_test")
1318
load_schema

0 commit comments

Comments
 (0)