Switching "Coppermine-site" from there to here? (new problem) Switching "Coppermine-site" from there to here? (new problem)
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Switching "Coppermine-site" from there to here? (new problem)

Started by Frox, October 24, 2004, 10:29:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Frox

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,......

Tranz

You would need to ask your new host for the login information if you don't know.

Pasha

And then, after he learns the new login and password -- where does he go to enter those?

Tranz

It's the file named in the first post and the settings in the code box.