mysql database, relative template path