How to efficiently find “duplicate” posts, where the titles are different, using metadata to match posts?

How to efficiently find “duplicate” posts, where the titles are different, using metadata to match posts?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)