Código PHP:
<?php
$host="localhost";
$usernamedb="jarana_jarana";
$pass="";
$db="jarana_soslegal";
$conn = mysql_connect ($host, $usernamedb, $pass) or die ("Unable to Connect!");
mysql_select_db ($db) or die ("Unable to Select Database!")
?>