Joined January 2015
·

Muhammad Nur'Ihsan Samirah

Selangor, Malaysia
·

Posted to Pipe viewer import mysql database over 1 year ago

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.

Achievements
1 Karma
0 Total ProTip Views