Getting 404 pages when upgrading from 3.5.2 to 4.1.1

Getting 404 pages when upgrading from 3.5.2 to 4.1.1

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