How deactivate the http-api

Try this in wp-config.php:

define( 'WP_HTTP_BLOCK_EXTERNAL', true );

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