File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -125,16 +125,18 @@ def connect(*args)
125
125
# You may need to adjust the lines below to match your SSL certificate paths
126
126
ssl_client = nil
127
127
expect {
128
+ # rubocop:disable Style/TrailingComma
128
129
ssl_client = Mysql2 ::Client . new (
129
130
DatabaseCredentials [ 'root' ] . merge (
130
131
'host' => 'mysql2gem.example.com' , # must match the certificates
131
132
:sslkey => '/etc/mysql/client-key.pem' ,
132
133
:sslcert => '/etc/mysql/client-cert.pem' ,
133
134
:sslca => '/etc/mysql/ca-cert.pem' ,
134
135
:sslcipher => 'DHE-RSA-AES256-SHA' ,
135
- :sslverify => true ,
136
+ :sslverify => true
136
137
)
137
138
)
139
+ # rubocop:enable Style/TrailingComma
138
140
} . not_to raise_error
139
141
140
142
results = ssl_client . query ( "SHOW STATUS WHERE Variable_name = \" Ssl_version\" OR Variable_name = \" Ssl_cipher\" " ) . to_a
You can’t perform that action at this time.
0 commit comments