Making (and edit existing) posts with ID included

Yes, this is actually what WordPress does automatically for you.

Navigate to Settings>Permalinks and add your custom structure you want like:

/%postname%-%post_id%/

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