I\'ve seen a few errors like this, but I found no answer.
Unable to connect to database: Access denied for user \'\'@\'localhost\' to database \'socialdb\'
mysql_connect takes 3 parameters
$con = mysql_connect("localhost", "dbuser", "password");