I want to upgrade from Drupal version 4.6 to 4.7. I've watched the videocast on the upgrade and that seems to be clear.
But I've installed Drupal in my root folder of my webserver. Is it possible to install Drupal 4.7 in a new folder \drupal and connect to my (old) drupal database after the installation?

Regards,
Stefan

Comments

ultraBoy’s picture

Yes, you can easily do that. Just edit your base_url string in /drupal/sites/default/settings.php file.

you need this string

$base_url = 'http://www.example.com';

changed to

$base_url = 'http://www.example.com/drupal';

You can always find a lot of useful information about intallation and upgrading your Drupal site in handbooks.

________________________________________
It's a longtail.

sstrange’s picture

This would not be a problem for my old drupal database with all my drupal data? I would find al my old data from my database?

Regards,
Stefan

ultraBoy’s picture

I advise you to read handbooks. It's all there.
________________________________________
It's a longtail.

sstrange’s picture

Backup no problem, I have created them and will create them before I upgrade...

Thanx!
Stefan

ac’s picture

backup backup backup backup backup backup backup backup!!!!!!!

ultraBoy’s picture

Another thing, if you have clean_urls enabled, you will need to edit your .htaccess file.

sstrange’s picture

I'm reading the handbooks for upgrading to drupal 4.7 and I want to create a test site first for testing the upgrade. (as suggested in the handbooks). I've created a new empty database and tried to restore the exported live drupal database, but the database is to big (12 Mb) for restoring via PHPMyadmin. Are there tables in my database that I could delete before restoring the db to a test database?

Regards,
Stefan

ultraBoy’s picture

It's not too big. Can clean up 'cache' table, 'statistics' also.

sstrange’s picture

I tried to clean the cache table by changing a post of mine. That would clean the cache table, but that didnot work.
Can I delete all the entries of the cache and statistics table from the exported sql file?

And do you mean node_comment_statistics table? And what about the accesslog table?

Thanx and regards,
Stefan
http://weblog.stranger.nl

ultraBoy’s picture

Sorry about 'statistics' , it was wrong!

Now I say 4 sure (looking at my db): watchdog and accesslog.
________________________________________
It's a longtail.