On Tue, 2007-06-19 at 12:33 +1000, Michael Chesterton wrote: > You can get rid of the password prompts. > > On the remote host in ~/.my.cnf put > > [client] > password = supersecret > port = 3306 > socket = /var/run/mysqld/mysqld.sock > > chmod 600 ~/.my.cnf > > Actually, you'd probably want to do the same on both hosts. > You can then get rid of the -p switches.
So do you think that it's not possible to do it ad-hoc like I am doing? I'll try your suggested setup - thanks. -- Simon Wong <[EMAIL PROTECTED]> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
