Ole ,
This does not work.
cat host |parallel -j2 rsync -Hav /home/User/xxx.sql {}:/home/User/xxx.sql
\;"ssh {} hostname \\\&\\\& /bin/mysql --user=root --password=password DB
To: p sena
Cc: "[email protected]"
Sent: Tuesday, July 9, 2013 10:58 PM
Subject: Re: help on remote ssh cmd
On Tue,
Also, it is to be noted that I cannot remote sql client connect to the server
with that username. So I have to copy of the sql file and execute it there
remotely only.
Hence the GNU sql may not help here.
From: p sena
To: Ole Tange
Cc: "[email protected]"