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: problem on re-install  (Read 2808 times)

0 Members and 1 Guest are viewing this topic.

chummy

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
problem on re-install
« on: July 05, 2006, 04:27:12 am »

Having accidently deleted my files by the ftp client I tried a re-install but now get an error message:

mySQL Error: Table 'cpg148_albums' already exists on query ' CREATE TABLE cpg148_albums ( aid int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL default '', visibility int(11) NOT NULL default '0', uploads enum('YES','NO') NOT NULL default 'NO', comments enum('YES','NO') NOT NULL default 'YES', votes enum('YES','NO') NOT NULL default 'YES', pos int(11) NOT NULL default '0', category int(11) NOT NULL default '0', thumb int(11) NOT NULL default '0', keyword VARCHAR( 50 ), alb_password VARCHAR( 32 ), alb_password_hint TEXT, PRIMARY KEY (aid), KEY alb_category (category) ) TYPE=MyISAM'

Can anyone advise what to do now?

Many Thanks

Mark
« Last Edit: July 05, 2006, 04:57:10 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: problem on re-install
« Reply #1 on: July 05, 2006, 05:30:59 am »

The error message should be obvious: tables with the prefix you chose already exists from your previous install. You have three options:
1) Restore your files from a backup (if you have one). No need to re-install then.
2) Delete the database tables from your previous install (the ones prefixed with "cpg148_") using a third party tool like phpMyAdmin, then install from scratch
3) Use another prefix when installing (not the default prefix "cpg148_"). This is the easiest method, but it will leave some unused garbage tables in your database.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: problem on re-install
« Reply #2 on: July 05, 2006, 06:10:35 am »

did you delete all files and folder?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

chummy

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: problem on re-install
« Reply #3 on: July 05, 2006, 12:35:37 pm »

Hi

I deleted all my files using an ftp client and uploaded them again. I just don't understand about SQL.
Logged

chummy

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: problem on re-install
« Reply #4 on: July 05, 2006, 01:29:18 pm »

Ok I followed the advice and I'm up and running again.

Many thanks

Mark
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.