hi

I need to use d5 base i.e. database of d5 site in my new d6 site.

Both are different sites.

How Can I?

thanks
dhvani

Comments

cog.rusty’s picture

You will need to take a backup copy of your D5 database, load it to the new D6 site's database, and then upgrade that database to D6, so that D6 can use it. You can find instructions in

http://drupal.org/upgrade/tutorial-introduction.

In short, you will need to:
- Prepare the new site for upgrade to D6 (taking it off-line, disabling all non-core modules, changing the theme to a core theme)
- Delete all Drupal files and replace them with D6. Make sure to keep your uploaded files and images and edit the new settings.php file to use the right $db_url. Replace all your additional modules and themes with their D6 versions, delete them if they don't have D6 versions.
- Run update.php on the new site, to upgrade the core database tables to D6.
- Enable the additional modules which you are using.
- Run update.php again, to upgrade the other modules' database tables to D6.

dhvani2511’s picture

but actually my d5 database is of my old site which is made in d5..
and now my new site is in d6
both are different sites but i have to combine old ones with new one
thanks

cog.rusty’s picture

This is difficult.

You could try to copy your D5 site to a temporary site, upgrade that copy, and then try exporting and importing nodes using modules such as http://drupal.org/project/node_export and http://drupal.org/project/node_import.

But this may take several attempts to make it work correctly. It is developer work.

Another method is to create RSS feeds for the content of the old site and use the http://drupal.org/project/feedapi module to create nodes from the feeds in the new site.

dhvani2511’s picture

thanks

But i dont know how to upgrade my site

can u tell me plz

thanks
dhvani

cog.rusty’s picture

See my first reply for the steps you need. There is also a link to the documentation for more details.

dhvani2511’s picture

thanks for help