Community & Support

How to import database tables from an existing website to Drupal

Hello, Im wondering if there's any utility out there I can use to import my existing database table to Drupal schema other than re-entering thousands of records ?

Comments

=-=

may want to look into the node_import and/or node_export modules

Thanks .. im gonna try this

Thanks .. im gonna try this out.. Im just trying my new Drupal knowledge and converting our existing website to Drupal.. just an experiment :D

=-=

ahhh, i read incorrectly. I incorrectly read from drupal to drupal. not from other DB to drupal. No idea how you will do that with a database that isn't already drupal.

Sounds like a huge headache

Sounds like a huge headache haha... I think im gonna work study first how drupal saves CCK fields and how they relate to the nodes they were created for and then do a script that will replicate the structure of that table/s..

Thanks!

if you know how to convert

if you know how to convert your data to csv, then node_import can work for you.

--
Rachel J.
Solutions Architect, Promet Solutions Inc.
Drupal Web Development | Hosting | Online Marketing

_

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

nobody click here