Title: 2 MySQL errors
Last modified: December 6, 2016

---

# 2 MySQL errors

 *  Resolved [szabesz](https://wordpress.org/support/users/szabesz/)
 * (@szabesz)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-mysql-errors/)
 * Hello,
 * I do not knot how serious these issue are, but I thought I should report it, 
   just in case:
    Table ‘…_statistics_historical’ doesn’t exist SHOW COLUMNS FROM…
   _statistics_historical LIKE ‘key’ … activate_plugin, include_once(‘/plugins/wp-
   statistics/wp-statistics.php’), include_once(‘/plugins/wp-statistics/wps-install.
   php’) It is one and only log entry, during(?) or after(?) installation.
 * Later I also got one of this:
    Duplicate entry ‘…’ for key ‘date_2’ … INSERT 
   INTO `csi_statistics_pages` (`uri`, `date`, `count`, `id`) VALUES (‘/…/‘, ‘2016-
   12-05′, 1, ’12’) … shutdown_action_hook, do_action(‘shutdown’), wp_statistics_shutdown_action,
   Hits->Pages

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

 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-mysql-errors/#post-8520324)
 * The first one was probably during setup, a race condition between the setup routine
   and the first visitor hitting your site.
 * The second is a race condition which you may see again during the first hit of
   the day, if two users hit the site at almost the exact same time, both will try
   and create the same row in the database. You can safely ignore this, it will 
   drop a single visit to your site but otherwise all subsequent visitors will be
   recorded correctly.
 *  Thread Starter [szabesz](https://wordpress.org/support/users/szabesz/)
 * (@szabesz)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-mysql-errors/#post-8526117)
 * Thank you for you clarification! I am new to this plugin, but I like what I’ve
   seen so far. Keep up the good work!

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

The topic ‘2 MySQL errors’ 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

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

 * 2 replies
 * 2 participants
 * Last reply from: [szabesz](https://wordpress.org/support/users/szabesz/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/2-mysql-errors/#post-8526117)
 * Status: resolved