Title: Same booking id
Last modified: February 18, 2019

---

# Same booking id

 *  Resolved [helges](https://wordpress.org/support/users/helges/)
 * (@helges)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/same-booking-id/)
 * When booking the bookings get the same booking ID = 0
 * Why is that and how to fix it?
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsame-booking-id%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/same-booking-id/#post-11217110)
 * Hello.
    By default the ID of booking can not be = 0, at all. Its unique auto 
   increment field in the Database, that have to start from 1 and increment with
   each new booking at 1. If you see at the Booking Listing page at the left side
   the ID of bookings as 0, so then something wrong with configuration at your Database.
 * Please try to make FULL reinstall of the Booking Calendar plugin (its mean that
   booking data will be erased).
 * For this please open the general booking settings page and make checked the “
   Delete booking data during deactivation of plugin” at the right side.
    then open
   the WordPress plugins menu and click on “Deactivate” link. Wait for the message
   that plugin is deactivated successfully.
 * After this Click on “Activate” link of Booking Calendar plugin and wait for the
   message that plugin is activated successfully.
 * Otherwise if you still will have this issue, please recheck with phpMyAdmin or
   other DB tool that the field booking_id have AUTO_INCREMENT status and was set
   as Primary Key. If you do not see this, so then something make restrictions to
   activate this options during activation of plugin. Please contact support of 
   your hosting, so let thee recheck that your MYSQL user, have the rights for creation
   of new tables in your DB, and altering tables. For ability to set some fields
   as primary key with AUTO_INCREMENT status
 *  Thread Starter [helges](https://wordpress.org/support/users/helges/)
 * (@helges)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/same-booking-id/#post-11217191)
 * Thank you so much -now it’s working…

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

The topic ‘Same booking id’ is closed to new replies.

 * ![](https://ps.w.org/booking/assets/icon-256x256.gif?rev=3335907)
 * [Booking Calendar](https://wordpress.org/plugins/booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking/)
 * [Active Topics](https://wordpress.org/support/plugin/booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [helges](https://wordpress.org/support/users/helges/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/same-booking-id/#post-11217191)
 * Status: resolved