mysql API has been deprecated. Please consider mysqli or PDO instead. The first parameter of mysql_connect is the MySQL server. Since PHP and MySQL resides on the same server, you should have used the string localhost instead. From tizag: In other words, <?php
mysql_connect("localhost", "someday_someday", "CorrectPassword") or die(mysql_error());
mysql_select_db("someday_Database") or die(mysql_error());
?>