• Resolved hungrygeneration

    (@hungrygeneration)


    I am running Drupal 6.26 and I am trying to import my website to WordPress. My current website (the drupal I want to import) is on the root domain. The WordPress I want to import to is a subdomain/folder of the root domain. How do I reference that in the hostname? I am getting the error: [ERROR] Couldn’t connect to the Drupal database. Please check your parameters. And be sure the WordPress server can access the Drupal database.
    SQLSTATE[HY000] [1045] Access denied for user ‘..(took this out for security reasons)’@’localhost’ (using password: YES)
    Please read the FAQ for the solution.

    Also, if I want to try the importing it into the WordPress database two questions: 1) how do I import in PHP My Admin and 2) where do I find my WordPress database username/password (I knew how in drupal, not sure where that is stored in WordPress)

Viewing 1 replies (of 1 total)
  • Plugin Author Kerfred

    (@kerfred)

    If Drupal and WordPress are on the same server, you can find the Drupal database host in the file sites/default/settings.php

    If WordPress is located on another host, you need to export the Drupal database with phpMyAdmin (Export tab). It will generate a SQL file. And import it on the WordPress database with phpMyAdmin on the WordPress host (Import tab).

    You can find the WordPress credentials in the file wp-config.php.

Viewing 1 replies (of 1 total)
  • The topic ‘Importing from a Subfolder/Domain’ is closed to new replies.