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: [Solved]: Install problem  (Read 3832 times)

0 Members and 1 Guest are viewing this topic.

pitzerwm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
[Solved]: Install problem
« on: September 09, 2009, 06:25:46 pm »

I'm getting this error message.

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''
« Last Edit: September 14, 2009, 03:13:55 pm by Joachim Müller »
Logged

pitzerwm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Install problem
« Reply #1 on: September 09, 2009, 06:27:39 pm »

Logged

Nibbler

  • Guest
Re: Install problem
« Reply #2 on: September 09, 2009, 06:30:29 pm »

Make sure you are entering valid MySQL access details. The user you enter has to have permission to create tables in the database you enter.
Logged

pitzerwm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Install problem
« Reply #3 on: September 09, 2009, 06:44:30 pm »

I also have a ticket at their end, and they have confirmed that info.  They said that I hadn't set permissions right, and they did it for me, but it still does the same thing.  I had made the main folder (photogallery) and admin, includes 777. What else do I need to check?   
Logged

Nibbler

  • Guest
Re: Install problem
« Reply #4 on: September 09, 2009, 06:46:59 pm »

MySQL access permissions are not related to file permissions in any way. It's the MySQL user's permissions that are wrong.
Logged

onthepike

  • Guest
Re: Install problem
« Reply #5 on: September 09, 2009, 07:41:16 pm »

Don't recursively chmod your entire /gallery directory 777. Go back to the Coppermine documentation are reset your permissions to their intended defaults.

Then, Control Panel --> phpMyAdmin --> Privileges --> Select your username_copp1 database and click the edit icon --> Global Privileges --> Select All --> Go

This, assuming your /gallery/include/config.inc.php contains correct mysql information should allow you to create tables, etc.
Logged

pitzerwm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Install problem
« Reply #6 on: September 10, 2009, 08:44:12 am »

Apparently, I hadn't given my "user" dba privileges, just read/write.  I ended up using my Classifieds db.

Thanks for all of the help.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.