PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 17th, 2004, 08:55 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2004
Posts: 28
Could not connect to PhotoPost database for 4.8.5 upgrade

I tried to upgrade from 4.8.2 to 4.8.5 with both VB & PP in same DB

but I get this :
Preparing to update 4.8.2 database...
Could not connect to PhotoPost database


I followed the instructions but it's not working in first step.

what I'm doing wrong?
adigicam is offline   Reply With Quote
Old December 17th, 2004, 10:55 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 18th, 2004, 06:31 AM   #3 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,417
And make sure you leave your OLD config file out there for the upgrade, not a modified new config file.
ConqSoft is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: cannot connect to the Users database siteworthy Photopost Pro Installation & Upgrades 9 January 3rd, 2006 09:57 AM
Upgrade to standalone database Matthijs Photopost Pro Installation & Upgrades 1 September 24th, 2005 10:33 AM
New upgrade isn't recognizing the database brthompson Photopost Pro Installation & Upgrades 16 December 8th, 2004 10:10 AM
Database not updating properly after upgrade kevinsdh Photopost Pro Installation & Upgrades 3 September 5th, 2004 01:30 PM
error message: cannot connect to the user database asherariel Photopost Pro Installation & Upgrades 1 July 24th, 2004 12:13 PM


All times are GMT -5. The time now is 06:03 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0