php - PEAR DB, moving from MySQL 4 to 5, .ini file issue? -


we're running custom made cms uses pear db class handle database. database using mysql 4.0. our hosting provider updating mysql 5.0 , deactivating databases using 4.0. i've exported old db , made new 5.0 1 (i recommend bigdump.php this, had around 500k lines).

the migration successful, there's been side effects (some pages missing content there earlier, ones affected seems random). pear relies on sort of .ini files act maps of db. didn't code system i'm not familiar how works. copied old .ini files have feeling need somehow generate new ones. the manual describes createtables.php running nothing, script crashes no output.

the ini file looks bit this:

[artist] id = 129 first_name = 2 last_name = 130 display_name = 130 bio = 66 is_live = 145 is_deleted = 145 date_updated = 384  [artist__keys] id = n  [artist_image] artist_id = 129 url = 130 date_updated = 384  , on db tables... 

i understand issue specific , it's hard help, if point me in right direction that'd appreciated. thanks.

this not db package db_dataobject. it's object-relational mapper (orm) , still works today's mysql.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -