Redirect to page after a widget form submit

If you are doing this via Ajax then after getting the response, you can redirect via JavaScript

window.location.href="https://wordpress.stackexchange.com/questions/198693/url to be redirected to";

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