dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 379 forks source link

How do I connect to mysql with ssl? #658

Open tomzilla opened 8 years ago

tomzilla commented 8 years ago

I'm using Amazon RDS. How do I connect to my instance using ssl?

I see that mysql has included the public key in its package. How can I tell node-orm2 to use it?

dxg commented 8 years ago

Presumably you can pass the options in along with the others. I'm not sure if a configuration string will work, but an object should be fine.