|
Are you running the upgrade from the main Photopost directory?
This is pretty absolute in the upgrade file
$link = mysql_connect("$host", "$mysql_user", "$mysql_password") or die('I cannot connect to the PhotoPost database. [host:$host][mysql_user:$mysql_user][mysql_password:$mysql_password]');
mysql_select_db ("$database", $link)or die("Could not connect to PhotoPost database");
and then this in the config file
//**************** MySQL Database Configuration ****************//
// PhotoPost database host address, or leave as localhost
$host="localhost";
// PhotoPost's database name
$database="photopost";
// MySQL username and password to access PhotoPost's database
//
// These two variables are for the userid and password needed to access
// the PhotoPost database named above.
$mysql_user="root";
$mysql_password="";
as long as you have the proper information in there you should be fine.
|