Is there a way to dynamically get URL as a path to plugin root, not a local path?

Check out the plugins_url() and plugin_dir_url() functions.

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