tws I/O with mySQL table management