Thanks for reply i Ve got it working ...
if you use User reg park as it is without re-naming anything in it then this is what works for me ;
$hostname_localhost = "localhost";
$database_localhost = "mysql";
$username_localhost = "root";
$password_localhost = "";
and password .... not needed to get it run