You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connecting with SSL via database.yml(tested with AWS RDS)
production:
adapter: mysqldatabase: 'your_database_name_here'username: 'mysql_username'password: 'password'port: '3306'ssl: {ca_cert: 'path_to_ca_cert'}# valid ssl options are [cipher,ca_path,ca_cert,client_cert,client_key]# as tested only ca_cert was required to connect to RDS# you may need to grab the cert from here: https://rds.amazonaws.com/doc/mysql-ssl-ca-cert.pem
Connecting with SSL Out of date
In order to connect to a server with SSL, the DataMapper setup must be given an :ssl option containing a hash of ssl information. For example, let's say you had the following connection: