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: mysql database  (Read 3972 times)

0 Members and 1 Guest are viewing this topic.

plurk

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
mysql database
« on: January 08, 2004, 01:22:30 pm »

hi,

i'm trying to instal the coppermine photo album. And it's said in one of the file that it will create the mysql database. But it doesn't do that.
Probably my provider doesn't allow that kind of thing.
so i was trying to make one my self in phpmyadmin. I know how to do this the only thing i don't know is what tables to use with what fields.
anyone who does know?
or can someone show me the code of theirs? something like this
CREATE TABLE `cpg11d_users` (
  `schema` varchar(150) NOT NULL default ''
) TYPE=MyISAM;


plurk
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
mysql database
« Reply #1 on: January 08, 2004, 03:09:55 pm »

coppermine install does create the necessary tables, but it doesn't create a database for you (notice the difference? "Database" vs. "table inside database")!

GauGau
Logged

plurk

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
mysql database
« Reply #2 on: January 08, 2004, 04:42:15 pm »

yes i've noticed the difference i tierd both. once without a datbase and once with. but it doesn't create tables in my database.
i also tried to make the table myself, but then i don;t know what collums and rows i need.
so if anyone could make a dump of his database i could create them.

plurk
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
mysql database
« Reply #3 on: January 09, 2004, 08:54:16 am »

If the tables aren't created and filled with values during install, you haven't provided a proper mySQL account (one that is allowed to create tables) - this is of course a prerequisite...
For a manual creation of the db structure, take a look at the folder /sql/ that comes with the coppermine package - it contains all necessary queries (you'll have to modify the prefix though).

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 14 queries.