Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
Database structure problem
Posted: 03 March 2005 02:43 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  58
Joined  2003-12-21

I’m moving my blog to a new host. First I exported the MySQL database (created with pMachine 2.3). Then I installed pMachine 2.4 on my new host. Everything was fine until I imported the database.

The pMachine 2.4 MySQL structure is different. For example, the pm_weblog table has at least two new fields (sticky and sent_pings). When I imported the old file, it deleted the new fields. I manually added those fields, but it seems that the same thing happened in other tables (I’m getting lots of debug errors).

I’ve tried several different ways of exporting the data, but the new fields are always deleted. Obviously I’m doing something wrong. There must be a way to add the data to a database without changing the structure.

I’d appreciate any tips you can offer.

Profile
 
 
Posted: 03 March 2005 03:25 PM   [ Ignore ]   [ # 1 ]  
Grad Student
Rank
Total Posts:  58
Joined  2003-12-21

Doh! Never mind. As usual, I was making it much more difficult than it really is. It certainly helps to read the documentation.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 64967 Total Logged-in Users: 0
Total Topics: 81989 Total Anonymous Users: 0
Total Replies: 440668 Total Guests: 20
Total Posts: 522657    
Members ( View Memberlist )
Active Members: