I'm trying to get an EE1 site up to EE2.5.5
To do this I created a clone of the live site's files. Exported the SQL from the live database and populated a "dev" database with the data then updated paths and config settings accordingly. This created a working clone (I've done this many times with no problems).
So, to clarify; I have a live site running from a database named "clientname_live" I have a dev site running from a database named "clientname_dev"
I have managed to get from 1.6.8 to 1.7.3 with no issues but trying to go from there up to 2.0.0 is throwing up problems.
The site uses ngen file field, structure and gypsy. I have removed gypsy completely, converted any file fields to text inputs and run the Structure update script (which appeared to run fine and do its stuff).
After uploading the necessary EE2 files and starting the update process I almost immediately hit the following error:
Error Number: 1146
Table 'clientname_live.exp_weblog_fields' doesn't exist
SELECT field_id FROM exp_weblog_fields WHERE field_type = 'date'
Filename: updates/ud_200.php
Line Number: 1583
Clearly the problem is that the update script (maybe just at that point) is trying to do something to clientname_live. What I don't understand is where it's getting that information from. The config file points at clientname_dev and the site is definitely running from that data base and not the live one.
Where could this database name be stored other than in the config file?