Title: External database
Last modified: July 19, 2019

---

# External database

 *  [sakura00](https://wordpress.org/support/users/sakura00/)
 * (@sakura00)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/external-database-7/)
 * I need help
    I want that my register page it’s a plugin(ultimate User) connect
   with my external database from my game with a hash mysql 5 How can I do this?
   Like put second database on my function.Php And then I Want that the register
   page communicate with this external database of my server
    -  This topic was modified 6 years, 10 months ago by [sakura00](https://wordpress.org/support/users/sakura00/).

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/external-database-7/#post-11749491)
 * To connect to an external DB, create a connection by instantiating a new wpdb
   class object. You can use this object’s methods to query your DB. The global 
   $wpdb object is of this class and is how WP queries its DB.
 * To invoke a custom registration scheme, I would look at redirecting the usual
   registration POST request with user data to a custom registration handler. One
   way to handle a custom registration request is to redirect through /wp-admin/
   admin-post.php with an “action” parameter. Your custom code then hooks into an
   action tag composed in part from the passed “action” parameter.

Viewing 1 replies (of 1 total)

The topic ‘External database’ is closed to new replies.

## Tags

 * [external database](https://wordpress.org/support/topic-tag/external-database/)
 * [register](https://wordpress.org/support/topic-tag/register/)
 * [user](https://wordpress.org/support/topic-tag/user/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/external-database-7/#post-11749491)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
