Wordpress Importer fails when using different databases

Found a bug? Tell us!!
Post Reply
Impulz
Posts: 1
Joined: Tue Apr 19, 2005 2:23 pm

Wordpress Importer fails when using different databases

Post by Impulz »

Hi everyone,

i'm using s9y 0.8 and am experiencing problems when trying to import wordpress data from another database.
Example:
Wordpress resides at:
impulz.wp_*

s9y is at:
testing.serendipity_*

When trying to import the importer switches to database impulz and trys to insert the new data to serendipity_entries which does not exist in this database:

INSERT INTO serendipity_entries ...
/ Table 'impulz.serendipity_entries' doesn't exist

This should be fixable by using a second mysql connection for inserting the data into s9y (in case there are also different users).

best regards,
Michael
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Wordpress Importer fails when using different databases

Post by garvinhicking »

Oh, okay, you are right, there are problems in the importer.

You can bypass it by copying the Wordpress Database over to your Serendipity database; since both use different prefixes, that should be possible.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply