Load WordPress core but with specific plugins

This seems to be the way:

add_filter( 'option_active_plugins', 'disable_plugins' );

function disable_plugins($plugins){
    return []; // you can define specific plugins you want to load here.
}

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