Prime 357

We'll learn something

Site Menu

  • Home
  • Recent Posts
  • Forum
    • Programming Languages
      • C++
    • Website Design & Content Management
      • Wordpress >> Drupal
  • Blogs
  • Topics
    • C++
    • Changing hosts - Dummies Guide
    • Wordpress >> Drupal
  • Download Centre
  • Contact us
Home


Image - OpenID

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Navigation

  • Recent posts

Topics

  • C++ (The Book)
  • Changing Hosts - a Dummies Guide
  • Wordpress to Drupal

Recent comments

  • Got it solved This page here
    2 hours 50 min ago
  • Links working
    1 day 2 hours ago
  • Thanks... I may be able to
    1 day 8 hours ago
  • 3306 by default
    1 day 18 hours ago
  • Is this the right place to
    1 day 19 hours ago
  • Figured
    3 weeks 6 days ago
  • I'm guessing at this stage
    3 weeks 6 days ago
  • WordPress MU?
    4 weeks 3 hours ago
  • Thanks
    10 weeks 1 day ago
  • I'm running the conversion
    11 weeks 5 days ago

New forum topics

  • What should the port number be
  • WordPress MU?
  • funny little bug in mac version
  • Error: Unable to Insert into Node_revisions table when converting from wordpress 2.6.0 to drupal 6.4
  • index.php?
more

Who's online

There are currently 0 users and 0 guests online.

Who's new

  • oODeathStormOo
  • leruffiant
  • Emtee
  • mnogodet
  • ZioMimmo

MySql

Import SQL file into new database

Submitted by Steve on Mon, 7 Jul, 2008 - 22:35
  • CMS
  • hosting
  • MySql

You should now have an SQL file, which is your backup database file, safely stored away in your computer. The next step is to transfer the contents of that file into a new database at your new host.

Firstly, access you new host, navigate to the cpanel pages, then to the database section and follow the prompts to create a new MySql database. Obviously, remember the database name and user name for later reference.

Once created, access phpMyAdmin and navigate to your newly created database. In the example that follows I created a new database named, "newdrupaldb". You will notice that there are no tables created as yet, that is what the following process will do. Click on the Import tab and you should see a screen similar to the following. Click on image for a detailed view

image-0100x500.jpg

  • Login or register to post comments
  • Read more
  • 389 reads

Backup old host database(s)

Submitted by Steve on Mon, 7 Jul, 2008 - 19:30
  • CMS
  • hosting
  • MySql

At your old host, access phpMyAdmin, you're going to backup your database(s) which will ultimately be downloaded to your computer.

Screen shot - MyPhpAdmin

Click the Export tab and a screen similar to the following should be displayed (click for larger image).

  • Login or register to post comments
  • Read more
  • 349 reads

Actual Processes Involved

Submitted by Steve on Mon, 7 Jul, 2008 - 19:20
  • CMS
  • hosting
  • MySql

Firstly, it goes without saying that you need access to your old host in order to carry out any of the following procedures. If you haven't got access to your old host, then in a nutshell, you're stuffed.

The following pages will show the processes and procedures required in order to transfer a Drupal system from one server to another. The concepts though can be applied to any database driven application.

  • Login or register to post comments
  • 358 reads

Connect to MySql Databases

Submitted by Steve on Thu, 17 Apr, 2008 - 23:08
  • CMS
  • converter
  • Drupal 5.x
  • Drupal 6.x
  • MySql
  • Wordpress 2.5

Before any importing can be done a connection must first be made to both the Wordpress and Drupal databases. From the main opening window, clicking the 'Continue to Importer Form' button will open the connection form (if a connection hasn't already been established) or purposely clicking 'Connect to Databases' button.

Image - Wordpress Connection Screen

All connection details must be entered correctly and connection is established via clicking the 'Connect' button. When successful connections have been established to both databases only then will the 'OK' button become active. Clicking the 'OK' button will progress the user to the 'Importing' screen.

Please be aware that upon successful connection the connection settings are saved in a text file (connect.txt) in the same directory where this program resides. This 'connect.txt' file is insecure in that the passwords are easily determined. If this file is present upon loading then the connection settings are automatically filled in.

The following is a brief description of the information required.

Version

Select the appropriate Wordpress and Drupal versions. As of this writing only Wordrpess version 2.5 is available and for Drupal you have a choice between 5.x and 6.x.

Image - Drupal Connection Screenshot

Host

If accessing the MySql database remotely, that is, on a hosted server, somewhere, other than your computer, then you will need to input the IP number. If you are unsure of the IP number it can be found at your hosting administration site (CPanel), failing that, your hosting company can provide it.

If you are accessing the MySql database locally, that is, on your home computer, then 'localhost' should suffice. If 'localhost' doesn't work then '127.0.0.1' will.

Port

The default is '3306'. Regardless of whether you are accessing your MySql database remotely (across the internet) or locally (on your computer) the number will probably be '3306'. If not, your hosting company can provide the correct figure.

Database Name

The name of the MySql database file of either the Wordpress or Drupal database (depending upon whether your at the 'source' or 'target' connection setting tab. If unsure, simply check the relevant 'config' or 'settings' php file from either system.

Username

Enter the 'Username' that has access rights to the database. Again, if unsure, check the 'config' or 'settings' php file from either system for confirmation. If you are accessing the MySql database files locally, that is, on your computer, and have installed MySql with all default settings, then the odds are that the user name will be 'root' and no password.

Password

Self-explanatory. If unsure check the 'config' or 'settings' php file from either system for confirmation.

Table Prefix

If your database (Drupal, Wordpress) was setup with the inclusion of table prefixes, then the correct table prefix must be entered. If no prefixes then no entry is required.

  • 8 comments
  • 1344 reads

General Requirements

Submitted by Steve on Thu, 17 Apr, 2008 - 17:24
  • CMS
  • converter
  • Drupal 5.x
  • Drupal 6.x
  • MySql
  • Wordpress 2.5
  1. An already created and installed Drupal 5.x/6.x database.
    • This can either be a freshly installed database which effectively is empty other than User ID 1, the 'super' or 'creator' user of the Drupal database installation; or
    • An already populated Drupal 5.x/6.x database. This basically means that posts, users, comments, categories etc have been created, most likely through Drupal itself.

      What I mean by 'most likely' is that you may have started with a clean, fresh, unpopulated Drupal database. Using this program it is possible to import a Wordpress database numerous times. Obviously, after a first Wordpress database is imported, the Drupal database is no longer a fresh unpopulated database.

  2. A source database, Wordpress 2.5
  3. All databases must be MySQL.
  • Login or register to post comments
  • 1590 reads

General Requirements

Submitted by Steve on Sat, 3 Mar, 2007 - 22:57
  • CMS
  • Drupal 5.x
  • MySql
  • Wordpress 2.1/2.2
  1. An already created and installed Drupal 5.x database.
    • This can either be a freshly installed database which effectively is empty other than User ID 1, the 'super' or 'creator' user of the Drupal database installation; or
    • An already populated Drupal 5.x database. This basically means that posts, users, comments, categories etc have been created, most likely through Drupal itself.
  • Login or register to post comments
  • Read more
  • 637 reads

 Subscribe in a reader

free hit counter


RoopleTheme