after migration, newly uploaded images won’t show up

The problem was that the upload folder still was defined as /dev. I changed that using the upload url path enabled plugin.

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