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: Upgrade database permission problem  (Read 2744 times)

0 Members and 1 Guest are viewing this topic.

jabetcha

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
    • http://www.justfour.us
Upgrade database permission problem
« on: October 21, 2003, 04:43:27 pm »

I discovered this when upgrading, I thought I might pass it along, in case it happens to someone else....

The upgrade went fine, and I ran the update.php script to upgrade from 1.1. However I recieved 4 messages like:

ALTER TABLE cpg_comments add msg_raw_ip tinytext  ALREADY DONE

Whenever I tried to view a picture, it gave be a critical database error.

I found that my database user didn't have ALTER TABLE permission.

If this happens you will need to run the 4 ALTER TABLE commands in the sql/update.sql file as a user with update permission.

Perhaps a permissions check should be added to the update script?
Logged
Pages: [1]   Go Up
 

Page created in 0.012 seconds with 19 queries.