i like it. How to redirect the output to a file?
pv /path/to/sqlfile.sql | mysql -uUSERNAME -pPASSWORD -D DATABASENAME > log.txt 2> errorlog.txt
not work.
i like it. How to redirect the output to a file?
pv /path/to/sqlfile.sql | mysql -uUSERNAME -pPASSWORD -D DATABASENAME > log.txt 2> errorlog.txt
not work.