coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jstxanothrxstory on September 10, 2006, 10:48:51 PM

Title: MYSQL Change
Post by: jstxanothrxstory on September 10, 2006, 10:48:51 PM
Hey, I recently switched hosts with a Coppermine gallery, and as the mysql db has changed, I need to know which file to edit to recognize the new db?
Title: Re: MYSQL Change
Post by: Sami on September 10, 2006, 10:50:45 PM
include/config.inc.php
Title: Re: MYSQL Change
Post by: jstxanothrxstory on September 10, 2006, 10:59:41 PM
Ok, thank you!
Title: Re: MYSQL Change
Post by: jstxanothrxstory on September 10, 2006, 11:03:20 PM
Now it's saying this:

While executing query "SELECT * FROM cpg148config" on 0

mySQL error: Table 'seater_db.cpg148config' doesn't exist
Title: Re: MYSQL Change
Post by: Sami on September 10, 2006, 11:15:53 PM
check your table prefix it should be something like cpg148_
I think you have set it to cpg148 and it's wrong
check it under include/config.inc.php
Title: Re: MYSQL Change
Post by: jstxanothrxstory on September 10, 2006, 11:29:12 PM
I just did that and it still has the same message
Title: Re: MYSQL Change
Post by: Sami on September 10, 2006, 11:41:01 PM
Then check your database (with phpmyadmin) and make sure that you have those tables and if you have them find the actual name of tables