Mysql integration: fix template formatting