MySQL error or data corruption after database migration

Apparently, this is a bug with WordPress, it’s still incompatible with MySQL 8, a quick patch could be found at this link:

https://core.trac.wordpress.org/ticket/48377

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