{"id":2864,"date":"2020-03-08T01:53:11","date_gmt":"2020-03-07T20:23:11","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=2864"},"modified":"2020-03-08T01:53:15","modified_gmt":"2020-03-07T20:23:15","slug":"plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/","title":{"rendered":"Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062"},"content":{"rendered":"\n<p>Connect to the server via <a href=\"https:\/\/support.plesk.com\/hc\/en-us\/articles\/360000471413\" target=\"_blank\" rel=\"noreferrer noopener\">RDP<\/a>.<\/p>\n\n\n\n<p>Script will assist you to fix the inconestancy of plesk db.  <a href=\"https:\/\/support.plesk.com\/hc\/article_attachments\/360009696539\/115003292185_auto_increment_fix.php.zip\">Download<\/a>\u00a0the script to your Server.  <\/p>\n\n\n\n<p>Extract the script from the zip file on C:\\ drive<\/p>\n\n\n\n<p>Start a command prompt as an Administrator.<\/p>\n\n\n\n<p>Create a backup of the Plesk database:<\/p>\n\n\n\n<p> plesk db dump &gt; C:\\psa_dump.sql<\/p>\n\n\n\n<p>Switch to the folder where extracted script on step 2 is stored.<\/p>\n\n\n\n<p> cd C:\\<\/p>\n\n\n\n<p>Run the script:<\/p>\n\n\n\n<p> plesk php 115003292185_auto_increment_fix.php -v -y<\/p>\n\n\n\n<p>Rerun the script until you see:<\/p>\n\n\n\n<p>&#8230;<br> No inconsistencies were detected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Connect to the server via RDP. Script will assist you to fix the inconestancy of plesk db. Download\u00a0the script to your Server. Extract the script from the zip file on C:\\ drive Start a command prompt as an Administrator. Create a backup of the Plesk database: plesk db dump &gt; C:\\psa_dump.sql Switch to the folder [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[35],"tags":[],"class_list":["post-2864","post","type-post","status-publish","format-standard","hentry","category-plesk"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 | 24x7serversupport Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"Connect to the server via RDP. Script will assist you to fix the inconestancy of plesk db. Download\u00a0the script to your Server. Extract the script from the zip file on C: drive Start a command prompt as an Administrator. Create a backup of the Plesk database: plesk db dump &gt; C:psa_dump.sql Switch to the folder [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-07T20:23:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-07T20:23:15+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/\",\"name\":\"Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2020-03-07T20:23:11+00:00\",\"dateModified\":\"2020-03-07T20:23:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 | 24x7serversupport Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/","og_locale":"en_US","og_type":"article","og_title":"Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 | 24x7serversupport Blog","og_description":"Connect to the server via RDP. Script will assist you to fix the inconestancy of plesk db. Download\u00a0the script to your Server. Extract the script from the zip file on C: drive Start a command prompt as an Administrator. Create a backup of the Plesk database: plesk db dump &gt; C:psa_dump.sql Switch to the folder [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-03-07T20:23:11+00:00","article_modified_time":"2020-03-07T20:23:15+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/","url":"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/","name":"Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2020-03-07T20:23:11+00:00","dateModified":"2020-03-07T20:23:15+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/plesk-error-an-operation-fails-in-plesk-sqlstate23000-integrity-constraint-violation-1062\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Plesk error: An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2864"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2864\/revisions"}],"predecessor-version":[{"id":2865,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2864\/revisions\/2865"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}