Rewrite the WordPress URL from custom plugin

plugin_dir_url( __FILE__ ) will return the URL of the current files directory. Usage would be:

$url = plugin_dir_url( __FILE__ ) . '/newfolder/newfolder/index.php';

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