Hello I am trying to use the ruby gem mysql in order to connect to an SQL database. I manage to connect thru my windows MySQL Workbench using my credentials with a .pem certificate file. My ruby command is: Mysql.new(@hostname,@username,@password,@dbname,@port) But the database requires a .pem certificate too. How do I insert the certificate file thru the ruby connection? Thanks Sagy
on 2012-12-03 07:48
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.