dispatch table to all kinds of mysqldb