Sorry I hid my db name and that info but look at my code : $con = mysql_connect("localhost","whatsn32_socks","PASSWORD HERE");
if (!$con)
{
error_log("failed to connect:" , 0);
error_log(mysql_error(), 0);
exit("success=false");
} else{
$lol = mysql_select_db("whatn32_social", $con);
if (!$lol){
error_log(mysql_error(), 0);
exit("success=false");
} else{ Error as displayed in original post but matching these variables