[HyperDB] Remapping table names?

Andy Skelton skeltoac at gmail.com
Wed Sep 7 16:38:17 UTC 2011


Hi, Mark,

The table prefix logic is inherited from wpdb. You can hack or extend
hyperdb to change that logic for your needs.

Cheers,
Andy

On Wed, Sep 7, 2011 at 11:10 AM, Mark L Middleton
<marklmiddleton at gmail.com> wrote:
> Hello,
>
> I'm trying to use a separate database for the wp_users table, and have that
> table be called 'users' instead of 'wp_users'.
>
> Using the separate database is working fine, I'm just adding the table to
> the dataset defined for the second database. But is it possible to remap
> table names or set different table prefixes for different databases using
> hyperdb?
>
> Thank you for any help you can provide,
> Mark Middleton
> _______________________________________________
> HyperDB mailing list
> HyperDB at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/hyperdb
>


More information about the HyperDB mailing list