On 30 July 2012 12:47, Simon Russell <[email protected]> wrote: > > Similar thing seems to be available for MySQL as an "option file" > > http://dev.mysql.com/doc/refman/5.0/en/option-files.html > > Nice idea; do you know if it allows per-db-user credentials? Seems to > only have one password setting, but perhaps I'm missing something. >
I'm not familiar with MySQL very well but reading the docs further gives this: On Unix, Linux and Mac OS X, MySQL programs read startup options from the following files, in the specified order (top items are used first). File Name Purpose /etc/my.cnf Global options *SYSCONFDIR*/my.cnf Global options $MYSQL_HOME/my.cnf Server-specific options defaults-extra-file The file specified with --defaults-extra-file=*path*<http://dev.mysql.com/doc/refman/5.0/en/option-files.html#option_general_defaults-extra-file>, if any ~/.my.cnf User-specific options So there's a user specific file for that. -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
