How to Include a Loop Template File in a Plugin

I do it like this:

// Inclusion of additional php files
define( 'MYPLUG_DIR', plugin_dir_path( __FILE__ ) );

require_once( MYPLUG_DIR . 'hi.php' );

It lets you use that more easily if you have to include several files.

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