Re: mysql as user

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: Re: mysql as user
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 -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss