Correct Plugin File Path

https://developer.wordpress.org/reference/functions/plugin_dir_path/

It looks like this function adds a trailing slash, so starting your string with a slash is not required try;

require_once(plugin_dir_path( __FILE__ ) . 'assets/MCAPI.class.php');

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