root@db1108:/home/marostegui# for i in `mysql --skip-ssl log -e "show tables;"`; do echo $i; mysql -BN --skip-ssl log -e "SELECT MIN(timestamp) FROM $i;";done > tables_min_timestamp.txt
ERROR 1146 (42S02) at line 1: Table 'log.Tables_in_log' doesn't exist
ERROR 1054 (42S22) at line 1: Unknown column 'timestamp' in 'field list'
ERROR 1054 (42S22) at line 1: Unknown column 'timestamp' in 'field list'
ERROR 1054 (42S22) at line 1: Unknown column 'timestamp' in 'field list'
ERROR 1054 (42S22) at line 1: Unknown column 'timestamp' in 'field list'
ERROR 1054 (42S22) at line 1: Unknown column 'timestamp' in 'field list'
ERROR 1054 (42S22) at line 1: Unknown column 'timestamp' in 'field list'
ERROR 1054 (42S22) at line 1: Unknown column 'timestamp' in 'field list'
ERROR 1054 (42S22) at line 1: Unknown column 'timestamp' in 'field list'