mysql_printf is a mysql client command line tool for formatting query results by printf-like string format.