I am switching laptops. I host my WP server through MAMP. I want to transfer [closed]

You can backup your WordPress website using UpdraftPlus plugin. Make sure you also backup database.
After setup the WP on other laptop just upload the backup.

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