WordPress /page/2 gives 404 when custom permalinks is set to %category%%postname%

your missing a slash in your perma link structure it should be /%category%/%postname%

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