Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Move coppermine galery to another host - help in MySQL  (Read 6590 times)

0 Members and 1 Guest are viewing this topic.

phl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Move coppermine galery to another host - help in MySQL
« on: November 24, 2005, 07:05:55 pm »

Hello everybody,

I've just finished to upload every files which were on my previous host to my new one.
I also changed my mysql data in include/config.inc.php
And finally I saved my DB

Now I'm trying to upload my DB to my new host and I got trouble :

The begining of my DB is :
Code: [Select]
CREATE TABLE `cpg132_albums` (
`aid` int( 11 ) NOT NULL AUTO_INCREMENT ,
`title` varchar( 255 ) COLLATE latin1_german1_ci NOT NULL default '',
`description` text COLLATE latin1_german1_ci NOT NULL ,
`visibility` int( 11 ) NOT NULL default '0',

The result of the upload is :
Code: [Select]
MySQL answered:
#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate latin1_german1_ci NOT NULL default '',
  `description`

I found that the phpmyadmin version are different :
the previous host is : 2.6.4-pl3
the new one : 2.5.7-pl1

Could you please help me to end the migration of my coppermine photo galery.
thanks a lot
« Last Edit: November 25, 2005, 12:16:16 am by GauGau »
Logged

Nibbler

  • Guest
Re: Move coppermine galery to another host - help in MySQL
« Reply #1 on: November 24, 2005, 07:14:18 pm »

When you dump the db on your old host, make sure to tick the compatibility option for mysql4. Your new server is an older version of Mysql than your old one.
Logged

phl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Move coppermine galery to another host - help in MySQL
« Reply #2 on: November 24, 2005, 07:29:32 pm »

thanks it works now

but I got an INTERNAL SERVER ERROR when I try to access index.php :/

Must I keep every CHMOD of every files ?
Logged

Nibbler

  • Guest
Re: Move coppermine galery to another host - help in MySQL
« Reply #3 on: November 24, 2005, 08:40:47 pm »

Server setups differ. You may need different permissions on your new host. Please keep to 1 issue per thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.