Added mysql database sql for ttd  test