How can I setup a development environment which auto refresh page when code have changed [closed]

Something like BrowserSync is what you’re looking for ( https://scotch.io/tutorials/how-to-use-browsersync-for-faster-development )

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