From: Sagy Drucker Date: 2012-12-03T15:48:30+09:00 Subject: mysql gem - connect with certificate --f46d04388ed50480df04cfed239b Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hello I am trying to use the ruby gem =93mysql=94 in order to connect to an SQL database. I manage to connect thru my windows MySQL Workbench using my credentials with a =93.pem=94 certificate file. My ruby command is: Mysql.new(@hostname,@username,@password,@dbname,@port) But the database requires a =93.pem=94 certificate too. How do I insert the certificate file thru the ruby connection? Thanks Sagy --f46d04388ed50480df04cfed239b Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

Hello

=A0

I am trying to use the ruby gem =93mysql= =94 in order to connect to an SQL database.

I manage to connect thru my windows MySQL Workbench = using my credentials with a =93.pem=94 certificate file.

=A0

My ruby command is: Mysql.new(@hostna= me,@username,@password,@dbname,@port)

But the database requires a =93.pem=94 certificate t= oo. How do I insert the certificate file thru the ruby connection?

=A0

Thanks

Sagy

--f46d04388ed50480df04cfed239b--