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: Installation Problem  (Read 3330 times)

0 Members and 1 Guest are viewing this topic.

michaelchenx

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Installation Problem
« on: September 09, 2009, 06:15:19 am »

Hi, I'm new to CPG...
I was trying to install the cpg14x in RedHat Linux 9, but met some problem. I'm using PHP5.2.5, mysql5.1.7 and ImageMagick installed. When I go to install page, fill all the blanks, then click Let's Go!; it shows a ERROR. The error message is followed:
The following errors were encountered and need to be corrected first:

mySQL Error: 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 'TYPE=MyISAM COMMENT='Used to store sessions'' at line 7 on query ' CREATE TABLE IF NOT EXISTS cpg14x_sessions ( session_id varchar(40) NOT NULL default '', user_id int(11) default '0', time int(11) default NULL, remember int(1) default '0', PRIMARY KEY (session_id) ) TYPE=MyISAM COMMENT='Used to store sessions''


What's the problem with it?
Thanks!
Logged

pitzerwm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Installation Problem
« Reply #1 on: September 09, 2009, 08:46:58 am »

I have a similar problem, my error message is:

mySQL Error: CREATE command denied to user 'MYNAME'@'98.130.2.32' for table 'cpg14x_sessions' on query ' CREATE TABLE IF NOT EXISTS cpg14x_sessions ( session_id varchar(40) NOT NULL default '', user_id int(11) default '0', time int(11) default NULL, remember int(1) default '0', PRIMARY KEY (session_id) ) TYPE=MyISAM COMMENT='Used to store sessions''
Logged

Nibbler

  • Guest
Re: Installation Problem
« Reply #2 on: September 09, 2009, 11:51:38 am »

That's a bug in MySQL 5.1.7 apparently. You need to update. Current MySQL 5.1 is 5.1.38
Logged

pitzerwm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Installation Problem
« Reply #3 on: September 09, 2009, 06:18:35 pm »

Quote
That's a bug in MySQL 5.1.7 apparently. You need to update. Current MySQL 5.1 is 5.1.38

Is this for me or the other guy or both?
Logged

Nibbler

  • Guest
Re: Installation Problem
« Reply #4 on: September 09, 2009, 06:20:39 pm »

The original poster. Your issue is unrelated - start your own thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.