Title: Help with importing : )
Last modified: September 6, 2016

---

# Help with importing : )

 *  Resolved [ixinho](https://wordpress.org/support/users/ixinho/)
 * (@ixinho)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/)
 * Hello, i just found your plugin at the time when i need to import 2-3k of posts
   from drupal to wordpress. I’m ready to donate nice if it works : ) Never did 
   that kind of migration before, so i need a bit of help.
 * – what does emptying wp content mean? does it mean i have to delete all pages/
   posts before i import something from drupal?
 * – how can i select which nodes i want to import from drupal or i have to import
   everything?
 * – i have 5 kategories of posts in my wordpress site. Can i somehow filter imported
   posts from drupal to wordpress categories?

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [makeonlineshop](https://wordpress.org/support/users/makeonlineshop/)
 * (@makeonlineshop)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8153656)
 * also interested, thank you !
 *  Plugin Author [Kerfred](https://wordpress.org/support/users/kerfred/)
 * (@kerfred)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8155076)
 * 1. The “Empty WordPress content” action has two options:
    – either you delete
   all the WordPress data including posts, pages, categories, medias, menus – either
   you delete only the data that has already been imported with the plugin To answer
   to your question, you don’t have to delete existing data before running the import
 * 2. You can’t select which nodes to import. It will import all the “page” and “
   article” nodes.
 * 3. You can’t select which categories to import. It will import all the categories
   and all the pages and articles in these categories.
 *  Thread Starter [ixinho](https://wordpress.org/support/users/ixinho/)
 * (@ixinho)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8158814)
 * In the settings i entered correct database name, username and password. i don’t
   know the port number and i don’t know drupal table prefix. I keep getting connection
   failed when i test the connection with following message. Could you please help
   me?
 * [ERROR] Couldn’t connect to the Drupal database. Please check your parameters.
   And be sure the WordPress server can access the Drupal database.
    SQLSTATE[28000][
   1045] Access denied for user ‘fpndrupal’@’localhost’ (using password: YES)
    -  This reply was modified 9 years, 8 months ago by [ixinho](https://wordpress.org/support/users/ixinho/).
 *  Thread Starter [ixinho](https://wordpress.org/support/users/ixinho/)
 * (@ixinho)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8158853)
 * Are port number and table prefix mandatory in order to connect?
 *  Plugin Author [Kerfred](https://wordpress.org/support/users/kerfred/)
 * (@kerfred)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8159099)
 * The port is 3306 by default. This is the default MySQL port. If you don’t know,
   it should be 3306.
    For the prefix, you can find it in phpMyAdmin. This is the
   prefix for every Drupal tables. It can be empty.
 * Is WordPress located on the same server as Drupal?
    If this is not the case, 
   you have to copy the Drupal tables to the WordPress database and use the WordPress
   credentials instead of the Drupal ones in the plugin settings.
 *  Thread Starter [ixinho](https://wordpress.org/support/users/ixinho/)
 * (@ixinho)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8159268)
 * Huh, drupal site is completely other hosting and server. There is no way to copy
   posts from drupal site which is on other server? If no, which tables i would 
   have to copy?
 * I tried with 3306 and now i get SQLSTATE[HY000] [2003] Can’t connect to MySQL
   server on ‘fpn.bg.ac.rs’
 * so i guess it’s the problem that the drupal is on other site, but you should 
   mention that in faq, that it cannot import from other location
 * Thank you.
 *  Plugin Author [Kerfred](https://wordpress.org/support/users/kerfred/)
 * (@kerfred)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8159839)
 * You just have to do an export/import with phpMyAdmin to copy the Drupal tables
   to the WordPress database. Not all the tables are required but a lot. The easiest
   and safest way is to copy all the Drupal tables.
    Once the Drupal tables are 
   on the WordPress database, you can use the plugin to convert your data to WordPress.
 * I’ll create a FAQ with this issue.
 *  [motorbaby](https://wordpress.org/support/users/motorbaby/)
 * (@motorbaby)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8161109)
 * I was able to import from localhost with the port field empty. If there’s no 
   table prefix in your database, leave it empty. Table prefixes are generally used
   to separate data between multiple sites using the same CMS.
 *  [motorbaby](https://wordpress.org/support/users/motorbaby/)
 * (@motorbaby)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8161143)
 * [@ixinho](https://wordpress.org/support/users/ixinho/) Sounds like there’s a 
   permissions issue with your SQL server. Since using WordPress is like using another
   computer (with Apache as its engine), a SQL server might not recognize calls 
   from the plug-in as your computer. Hence exporting from the remote server and
   importing to a local one, aka your computer, might be a solution.
 * It would be great if the plug-in could import a .sql file instead of having to
   import from a database server.
    -  This reply was modified 9 years, 8 months ago by [motorbaby](https://wordpress.org/support/users/motorbaby/).

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Help with importing : )’ is closed to new replies.

 * ![](https://ps.w.org/fg-drupal-to-wp/assets/icon-256x256.png?rev=1490014)
 * [FG Drupal to WordPress](https://wordpress.org/plugins/fg-drupal-to-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fg-drupal-to-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fg-drupal-to-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/fg-drupal-to-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fg-drupal-to-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fg-drupal-to-wp/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [motorbaby](https://wordpress.org/support/users/motorbaby/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/help-with-importing/#post-8161143)
 * Status: resolved