Download & Extend

$db_prefix not handled in migration

Project:Hostmaster (Aegir)
Version:6.x-0.3-rc4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

If a site is migrated, and there is a $db_prefix defined in its original settings.php, the migration won't work. I guess the $db_prefix variable is not handled, and the tables are not accessible after the migration.

Comments

#1

See #494446: allow shared tables between sites which might be relevant and which this might be a duplicate of.

#2

Status:active» closed (duplicate)

In order to document it: site with $db_prefix in table names can be migrated to Aegir RC4, but to get the site working, the prefixes from each table names should be manually deleted after the migration, in the new database.

#3

Status:closed (duplicate)» active

Actually, this is not a dupe. #494446: allow shared tables between sites is about a feature request to support enabling some sort of db_prefix on sites. This issue here is more legitimate: we should be able to import such sites and remove the prefix.

#4

See also #608918: Support for Single-sign on (if this is about SSO).

#5

Status:active» closed (duplicate)

This is mostly a dupe of #483346: allow importing of table-prefixed database setup.