If the only permalink setting is %postname% what happens in the case of old duplicates?

Any time you have a duplicate slug for a post or taxonomy, WordPress just adds ‘-2’ to the end of the slug.

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