Reputation: 19883
I am trying to connect to my database from R. When I start the server from the shell (using unix), i have to pass the --ssl-ca=myfile. How do I pass this flag using the dbConnect function? Thanks.
Upvotes: 3
Views: 1558
Reputation: 19883
Problem solved. Create a file in some directory and in that file write the following:
[client]
password=yourpass
username=yourusername
...
ssl-ca=yourcertspath
Then pass the file name to the default.file param of dbConnect
Upvotes: 6