Drupal newbie here. I am moving my site from drupal 4.7 to 5.x. I am making a clean install for my new 5.x webpage and creating a brand new database. I decided not to upgrade from the old site, as there were MULTIPLE problems with the database and structure of my 4.7 site that I inherited when I took over the site for the non profit I'm working with. In any case, is there an easy way to import users from my old site?
My setup is as follows:
Live site: example.com (drupal 4.7)
Subdomain: test.example.com (drupal 5.1)
I'm using dreamhost as my server, and set up the database with phpmyadmin and/or cocoamysql as I'm working on a mac primarily. There is a module for 4.7 for user import, but is there one for 5.x? Is there an easy way to do transfer only the users and their passwords from the old database? Thanks for your replies.

sscooterguy

Comments

tangibre’s picture

If you are familiar with phpmyadmin, and it is only the users you want to import, I guess you can export the "users"-table from 4.7 and import the values from this into the the new "users"-table in 5.1.

Make sure that you also update the "users_uid" entry in the "sequences"-table in 5.1 to match the value in the 4.7 database to be sure that any new users after the import from 4.7 is appended after the existing ones.

If you need to import the user roles/access rules, I am less sure, but you should be able to do this too.

Cheers