datamapper / do

DataObjects
147 stars 74 forks source link

Usage of .my.cnf file in do_mysql #102

Closed jedemenge-it closed 7 years ago

jedemenge-it commented 7 years ago

Hi,

i want to now if there is a way to use the .my.cnf file (or mechanism) to connect to mysql.

Background: I don't want to have the passwd in my ruby code.

Best Andreas

dbussink commented 7 years ago

There's no such option. You could manually read it from the Ruby code and provide it to the adapter that way.