Title: Changing table name?
Last modified: August 21, 2016

---

# Changing table name?

 *  Resolved [Number_6](https://wordpress.org/support/users/number_6/)
 * (@number_6)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/changing-table-name/)
 * Hi,
    I’m going to bridge the user tables of two (or more) of my websites and 
   I’m working off this method here [http://xentek.net/articles/528/implementing-the-wordpress-shared-users-table-trick/](http://xentek.net/articles/528/implementing-the-wordpress-shared-users-table-trick/)
   Which instructs me to insert PHP like `define('CUSTOM_USER_TABLE', 'wp_users');`.
 * How might I do this for ngmyCRED_log and any other pertinent table?
 * [http://wordpress.org/plugins/mycred/](http://wordpress.org/plugins/mycred/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [myCred](https://wordpress.org/support/users/designbymerovingi/)
 * (@designbymerovingi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/changing-table-name/#post-4152568)
 * That is a WordPress feature and only works with the wp_users and wp_usermeta 
   tables. You can not do this with myCRED.
 *  Thread Starter [Number_6](https://wordpress.org/support/users/number_6/)
 * (@number_6)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/changing-table-name/#post-4152580)
 * I changed the prefix of all the tables with a plugin. Surely there’s some way
   to define it individually.
 *  Plugin Author [myCred](https://wordpress.org/support/users/designbymerovingi/)
 * (@designbymerovingi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/changing-table-name/#post-4152582)
 * Sorry but i do not understand what you are trying to accomplish.
    The myCRED 
   table name is set according to your table_prefix + myCRED_Log. If you change 
   the table prefix in your wp-config.php file you would need to change it in your
   database as well.
 *  Thread Starter [Number_6](https://wordpress.org/support/users/number_6/)
 * (@number_6)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/changing-table-name/#post-4152587)
 * I’m trying to change the prefix of the myCRED table to something other than the
   prefix defined in wp-config.
 *  Plugin Author [myCred](https://wordpress.org/support/users/designbymerovingi/)
 * (@designbymerovingi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/changing-table-name/#post-4152619)
 * While you can change your table prefix to anything you want, if you change it
   anything other then what is set in the [$wpdb class](http://codex.wordpress.org/Class_Reference/wpdb)(
   which is used by myCRED to enter data into the log), you will cause myCRED to
   crash as it will not be able to find the table.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Changing table name?’ is closed to new replies.

 * ![](https://ps.w.org/mycred/assets/icon-128x128.gif?rev=3512531)
 * [Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred](https://wordpress.org/plugins/mycred/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycred/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycred/)
 * [Active Topics](https://wordpress.org/support/plugin/mycred/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycred/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycred/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [myCred](https://wordpress.org/support/users/designbymerovingi/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/changing-table-name/#post-4152619)
 * Status: resolved