Can you explain the logical architecture of MySQL?