On Wed, Jul 10, 2013 at 02:54:17PM -0700, Jason Sipula wrote: > ~]# mysqldump -u someuser -p somedb | mysql -u someuser -p -D someotherdb
This isn't a bash issue. Mysql is prompting for a password, either on standard input or by directly opening /dev/tty. In either case, the issue is with mysql. Once the pipeline has been constructed and the two mysql processes have been executed, bash is no longer involved at all.