rebuild the mysql for tipi