twfb: Make MySQL portion of database work.