Regardez la ligne de commande MySQL
watch -n 1 "mysql -e 'select id from updates order by id desc limit 1' your_db"
Wide-eyed Walrus
watch -n 1 "mysql -e 'select id from updates order by id desc limit 1' your_db"