Fix parsing database and table from MySQL fields