View Single Post
Old August 29th, 2005, 11:56 AM   #5 (permalink)
ncg
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 204
inc_reviews:

Quote:
// If you have placed ReviewPost into a seperate database, you will need to
// uncomment these lines to connect to the ReviewPost database. It is suggested
// that you install PP into the same database as vB for better performance.
yes, review post is in a separate database.

Quote:
// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the ReviewPost database.
same userid and password to access both reviewpost and vb3.

Quote:
//$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
leave this commented because i use same username and password. right?

Quote:
mysql_select_db ("review
_post_database")or die("Could not select photopost database");
then i uncomment this line because i want it to select the diffrent database that has reviewpost in it. right?

Quote:

// If you use reviewpost in a seperate database from vB, you'll need to reselect the vB database!
mysql_select_db ("my_vb3_database");
then i would uncomment this line to select the vb3 database because the reviews abd forums are in separate db's right?

----

inc_reviewpost:

Quote:
// If you have placed ReviewPost into a seperate database, you will need to
// uncomment these lines to connect to the ReviewPost database. It is suggested
// that you install PP into the same database as vB for better performance.
same thing as above.

Quote:
// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the ReviewPost database.
same as above, dont need to uncomment because they use the same user/pass. right?

Quote:
// $link = mysql_connect ("localhost", "dbuserid", "dbuserpassword") or die('I cannot connect to the database.');
dont need to uncomment, user/pass the samew for both.

Quote:
mysql_select_db ("products")or die("Could not select ReviewPost database");
select the products database from reviewpost. but this is where i get an error because "products" isnt the name of any tables in my database. they all have a table prefix (which this refrence is lacking) of rp_.

---

did i follow the directions correctly?

then this takes us back to the above post of the errors im getting.

Last edited by ncg; August 29th, 2005 at 11:58 AM.
ncg is offline   Reply With Quote