What DB is behind Gallery & can we get to It??

byteBabe

Joined: 2005-03-22
Posts: 1
Posted: Tue, 2005-03-22 00:52

I am considering using Gallery (first time user). Can anyone tell me whether there is support for mySQL or at least the data store behind Gallery. As a PHP programmer i would like to add my own custom fields to the database.

thanX in advanC

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2005-03-22 01:02

The "db" is just serialized text files. Nothing special or fancy. G2 though runs on quite a few different real db platforms.

 
sunill

Joined: 2005-05-03
Posts: 8
Posted: Wed, 2005-05-04 21:31

G2 requires some DB to be installed on the machine...if all data is is just serialized files then why does the G2 installation ask to specify a DB store.

 
masi

Joined: 2005-05-02
Posts: 6
Posted: Thu, 2005-05-05 11:15

fryfrog was referring to gallery 1.x i guess

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-05-05 14:28

G1 -> serialized data and images stored on filesystem
G2 -> database backend for metadata, stores images on filesystem

byteBabe, @custom fields.
see the G2 custom fields module, may be something different though.
and G2 is modular, so feel free to implement your changes as a G2 module.