On Sun, 2005-02-06 at 20:58 -0700, Lynn David Newton wrote:
> Craig> I was thinking that I could put in kind of a
> Craig> ~/.fetchmailrc file for mysql so that I don't
> Craig> have to pass user/password stuff on command
> Craig> line or in scripts for commands like to
> Craig> mysqldump
>
> It's called ~/.my.cnf
>
> Fill it with stuff like this:
>
> $ cat .my.cnf
> [mysql]
> user=grok
> password=foo
> [mysqldump]
> user=glorp
> password=gronk
> [mysqladmin]
> user=root
> password=zonk
----
bing !
----
>
> See also the file /etc/my.cnf
>
----
I looked at that and it threw me off completely since it has other
variables which wouldn't apply to me as user
I couldn't find this info in man pages for mysql, mysqld or mysqldump
Thanks
Craig
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss