[drupal-support] New sites and db prefixes

Emiliano emiliano at novayork.com
Sun Jun 19 20:27:19 UTC 2005


Hi Tib!

If you set a db prefix in settings.php you must have all the tables with 
the same prefix in your database. You can have one installation without 
any prefix and many others with several prefixes.

That's it! ;-)
Cheers,
Emiliano.

Tib wrote:
> Ok - so I have my first site, which has no prefix.. now how do I add
> another site with it's own prefix? I've extracted the drupal files into a
> new folder, verified that it has access to modrewrite, and configured the
> sites/default/settings.php to have a prefix of my choosing, and setup the
> .htaccess properly. But when I go to the web page it errors out telling me
> the tablespace for my prefix doesn't exist.
> 
> The handbook doesn't really cover this that I could find. Hopefully I'm
> just reading too fast and missing something obvious..?
> 
> <EOL>
> Tib




More information about the drupal-support mailing list