How to clear the drupal install of an multisite installation

expatme - January 6, 2009 - 01:15

i would like to re install my database for a multisite installation....what do i need to clear in the folders for the primary site?

=-=

VeryMisunderstood - January 6, 2009 - 01:16

nothing. the first site remains and your multisites use that code base.

what about the rubbish left

expatme - January 6, 2009 - 01:19

what about the rubbish left behind by the first site, i need to clear the first site

ie for re-installation

=-=

VeryMisunderstood - January 6, 2009 - 01:21

Drop all tables from the database and delete all files from server.

or

delete the database and delete all files from server.

hmmmm, i still have the

expatme - January 6, 2009 - 01:23

hmmmm, i still have the other sites in the same codebase !!!

=-=

VeryMisunderstood - January 6, 2009 - 01:28

ok, then figure out which tables are from the first site: more often than not these are the ones without a prefix, unless you set a prefix on that install also.

checkmark them and drop them.

Though now you are getting into territory I've never been, so make sure you do your backups.

oh sorry, i have separate db

expatme - January 6, 2009 - 01:30

oh sorry, i have separate db for each site, what about the junk cache used by the first site, where are they stored?

=-=

VeryMisunderstood - January 6, 2009 - 02:23

drupal cache is in the database, there are cache tables there.

there has to be some onsite

expatme - January 6, 2009 - 02:24

there has to be some onsite cache surely for css, and js

=-=

VeryMisunderstood - January 6, 2009 - 02:29

if you had css aggregation enabled. the files it aggregates them to is in your sites/default/files folder alongw with anything else that was aggregated ie: javascript, if you had that module. As well as any files that were uploaded with the 1st site, user pictures so on so forth.

* user warning: You

expatme - January 7, 2009 - 03:36

* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\content\includes\menu.inc on line 315.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\content\includes\menu.inc on line 315.

 
 

Drupal is a registered trademark of Dries Buytaert.