Problem with search results page

The form action should be this like below

action="<?php echo esc_url( home_url( "https://wordpress.stackexchange.com/" ) ); ?>">

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