coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Frox on October 24, 2004, 10:29:20 PM

Title: Switching "Coppermine-site" from there to here? (new problem)
Post by: Frox on October 24, 2004, 10:29:20 PM
I know this has been asked several times,...but i need more detail on how to find the info.
-------------------------
Hey there,....I have a "coppermine-site" on another server. But i want to place it @ my new host.
So I searched for the aswer. I saw that i had to backup the whole coppermine map,...so i did. And I had to backup the MySQL file.

I went to my old host's Cpanel >>>> backup >>>> "Download a MySQL Database Backup" >>>> and I downloaded the copp1 file.
So far so good?

And then I uploaded the whole coppermine file to the new host.
Now I had to upload the copp1 file >>>>>> backup >>>> "Restore a MySQL Database" >>>> browse,upload.
So the MySQL db is also there.

But here's the thing,.....the coppermine can't connect to the MySQL.
I know i have to edit the config.inc.php file ( which you can find in the include map). that's this;


<?php 
// Coppermine configuration file 

// MySQL configuration 
$CONFIG['dbserver'] =                         "localhost";        // Your database server 
$CONFIG['dbuser'] =                         "frox_copp1";        // Your mysql username 
$CONFIG['dbpass'] =                         "edit...";                // Your mysql password 
$CONFIG['dbname'] =                         "frox_copp1";        // Your mysql database name 


// MySQL TABLE NAMES PREFIX 
$CONFIG['TABLE_PREFIX'] =                "cpg_"
?>


That's the info from my old host right? I don't know in what to change them,....to get them working right on the new host.
Tell me where I can find the info,......bcause i need to change them right? Cause I don't know where to search.

Help,......
Title: Re: Switching "Coppermine-site" from there to here? (new problem)
Post by: Tranz on October 24, 2004, 10:33:05 PM
You would need to ask your new host for the login information if you don't know.
Title: Re: Switching "Coppermine-site" from there to here? (new problem)
Post by: Pasha on November 28, 2004, 11:29:41 PM
And then, after he learns the new login and password -- where does he go to enter those?
Title: Re: Switching "Coppermine-site" from there to here? (new problem)
Post by: Tranz on November 28, 2004, 11:42:17 PM
It's the file named in the first post and the settings in the code box.