Title: External Stats Database outside WP
Last modified: May 2, 2020

---

# External Stats Database outside WP

 *  Resolved [Martin Mattel](https://wordpress.org/support/users/mmattel01/)
 * (@mmattel01)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/external-stats-database-outside-wp/)
 * Hello, do you support using a own database?
    Means not the WP database but a 
   own, manually defined one for wp-statistics only.

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

 *  Plugin Author [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/)
 * (@mostafas1990)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/external-stats-database-outside-wp/#post-12770273)
 * Hi,
 * No, unfortunately, doesn’t support yet, but we have a plan for making an add-
   on to store the plugin data in NoSql databases such as Redis or MongoDB
 *  Thread Starter [Martin Mattel](https://wordpress.org/support/users/mmattel01/)
 * (@mmattel01)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/external-stats-database-outside-wp/#post-12772246)
 * Hello [@mostafas1990](https://wordpress.org/support/users/mostafas1990/)
 * many thanks for the quick answer.
 * I am hosting my own site. For me, it would be great to reuse my MariaDB engine,
   not a new one. Means, having the option to define the db connection (tcp:port
   or socket), db name, credentials would be great. I would, based on recommendations,
   pre-setup the database so you would only need to enter the access parameters.
   The code change would be to virtualize $wpdb by either using the original $wpdb
   or $mydb, where “$mydb = new wpdb(‘username’,’password’,’database’,’host’);” 
   Know that sounds easy and I would help coding, but atm my knowledge about handling
   options in plugins is limited.
 * Hoping that this would not make to much effort and a soon implementation.
 * Best Regards,
    Martin
    -  This reply was modified 6 years, 1 month ago by [Martin Mattel](https://wordpress.org/support/users/mmattel01/).

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

The topic ‘External Stats Database outside WP’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Martin Mattel](https://wordpress.org/support/users/mmattel01/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/external-stats-database-outside-wp/#post-12772246)
 * Status: resolved