Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Inside your ~/.my.cnf file define the connection parameters to your databases. For example, here I define two groups called local and toto:
[local]
user = root
host = localhost

[toto]
user = capitaine_flam