By Boohi
Hey!
I was looking into how I could change the behavior of AUTO_INCREMENT in our database, specifically innodb_autoinc_lock_mode from 2 to 0. I cannot any way to make this change, does anyone know how I can apply this change to my cluster/database? Help is much appreciated!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there
I understand you want to change the variable innodb_autoinc_lock_mode from 2 to 0 for managed database. Unfortunately, we do not currently support that configuration change as there are some implications(mentioned in below link) which needs to analyse first before implementing this change.
https://dev.mysql.com/doc/refman/5.7/en/innodb-auto-increment-handling.html
But we have created a feature request ticket in our backlog for our engineering team to add it and you will be informed with any updates.
Please let us know if you have additional questions/concerns.
Regards DigitalOcean Support
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.