Place this script ( say, foo.php ) in public_html and then run it from the web:
DEFINE ('DB_HOST', 'localhost' );
DEFINE ('DB_USER', 'snipes_admin');
DEFINE ('DB_PASSWORD' , "secretWordHere" );
DEFINE ('DB_NAME', "snipes_jdb" );
$link = mysqli_connect( DB_HOST , DB_USER ...