{"id":3395,"date":"2014-09-23T00:06:27","date_gmt":"2014-09-23T00:06:27","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2014\/09\/23\/check-and-repair-databases-in-cpanel\/"},"modified":"2025-12-31T13:49:51","modified_gmt":"2025-12-31T18:49:51","slug":"check-and-repair-databases-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/","title":{"rendered":"Check and Repair MySQL Databases"},"content":{"rendered":"<p>Database tables can become corrupted after server crashes, disk errors, or interrupted write operations. Symptoms include missing data, slow queries, or error messages mentioning table corruption.<\/p>\n\n\n\n<p>cPanel includes built-in tools to check for and repair these issues.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jetpack-video-wrapper\"><div class=\"yt-X6eX-EYfAlA\">\n\t<a class=\"play-video-X6eX-EYfAlA\" style=\"position: relative; display: flex; flex-wrap: wrap; align-items: center; cursor: pointer;\">\n\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.ytimg.com\/vi_webp\/X6eX-EYfAlA\/maxresdefault.webp\" width=\"1280\" height=\"720\" alt=\"How to Check and Repair a MySQL Database in cPanel\" style=\"width: 100%; height: auto;\">\n\t\t<span class=\"fa fa-imh-play-circle imh-ds-icon play-circle\" style=\"position: absolute; display:block; font-size:150px; color: #c52228; opacity:0;\"><\/span>\n\t<\/a>\n<\/div><\/div>\n<\/div><figcaption class=\"wp-element-caption\">Don\u2019t have time to read our full article? Watch our walk-through video.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Checking a Database<\/h2>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>First, you will need to be <a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">logged in to cPanel<\/a>.<\/li>\n\n\n\n<li>Once inside cPanel, click on <strong>MySQL Databases<\/strong>.<br><br><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png\" alt=\"MySQL Databases icon\"><\/li>\n\n\n\n<li>In MySQL Databases, scroll to <strong>Modify Databases<\/strong>.<\/li>\n\n\n\n<li>Select your database from the <strong>Check Database<\/strong> dropdown.<\/li>\n\n\n\n<li>Click <strong>Check Database<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>cPanel runs a diagnostic and reports whether the tables are healthy or need repair.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Repairing a Database<\/h2>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>In the <strong>Modify Databases<\/strong> section, select your database from the <strong>Repair Database<\/strong> dropdown.<\/li>\n\n\n\n<li>Within this page, you will see a section labeled <strong>Modify Databases<\/strong>. To repair a database, select the database that you want to check and repair in the dropdown next to <strong>Repair Database<\/strong>, and click on <strong><strong>Repair Database<\/strong><\/strong>.<br><br><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_mysql-databases_cPanel-mysql-databases-repair-database-button-highlight.jpg\" alt=\"Repair Database button\"><\/li>\n\n\n\n<li>cPanel will then check and automatically repair all tables that require it.<br><br><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_mysql-databases_mysqlDatabases_repairResults.png\" alt=\"repair results page\"><\/li>\n<\/ol>\n\n\n\n<p>This process works well for minor corruption. Severe corruption may require restoring from a backup or using command-line tools like <code>mysqlcheck<\/code>.<\/p>\n\n\n\n<p>For more control over individual tables, use <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/phpmyadmin\/\">phpMyAdmin to repair and optimize specific tables<\/a>.<\/p>\n\n\n\n<p>Congratulations, now you know how to check and repair databases in the MySQL Databases section of cPanel. We also have a helpful guide on <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/check-repair-database\/\">How to Check and Repair a Database in phpMyAdmin<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Database tables can become corrupted after server crashes, disk errors, or interrupted write operations. Symptoms include missing data, slow queries, or error messages mentioning table corruption. cPanel includes built-in tools to check for and repair these issues. Checking a Database cPanel runs a diagnostic and reports whether the tables are healthy or need repair. Repairing<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/\"> Read More ><\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4305],"tags":[],"class_list":["post-3395","post","type-post","status-publish","format-standard","hentry","category-databases"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Learn how to Check and repair databases<\/title>\n<meta name=\"description\" content=\"In this article, we will show you how to check and repair a MySQL database in cPanel.\" \/>\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.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn how to Check and repair databases\" \/>\n<meta property=\"og:description\" content=\"In this article, we will show you how to check and repair a MySQL database in cPanel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-23T00:06:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-31T18:49:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png\" \/>\n<meta name=\"author\" content=\"Jeff Matson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Matson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/\"},\"author\":{\"name\":\"Jeff Matson\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/83776252b196c020e4352a3796e5642b\"},\"headline\":\"Check and Repair MySQL Databases\",\"datePublished\":\"2014-09-23T00:06:27+00:00\",\"dateModified\":\"2025-12-31T18:49:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/\"},\"wordCount\":244,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png\",\"articleSection\":[\"Working with Databases\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/\",\"name\":\"Learn how to Check and repair databases\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png\",\"datePublished\":\"2014-09-23T00:06:27+00:00\",\"dateModified\":\"2025-12-31T18:49:51+00:00\",\"description\":\"In this article, we will show you how to check and repair a MySQL database in cPanel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png\",\"width\":815,\"height\":430},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Check and Repair MySQL Databases\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/83776252b196c020e4352a3796e5642b\",\"name\":\"Jeff Matson\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/jeffma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learn how to Check and repair databases","description":"In this article, we will show you how to check and repair a MySQL database in cPanel.","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.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Learn how to Check and repair databases","og_description":"In this article, we will show you how to check and repair a MySQL database in cPanel.","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2014-09-23T00:06:27+00:00","article_modified_time":"2025-12-31T18:49:51+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png","type":"","width":"","height":""}],"author":"Jeff Matson","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Jeff Matson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/"},"author":{"name":"Jeff Matson","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/83776252b196c020e4352a3796e5642b"},"headline":"Check and Repair MySQL Databases","datePublished":"2014-09-23T00:06:27+00:00","dateModified":"2025-12-31T18:49:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/"},"wordCount":244,"commentCount":1,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png","articleSection":["Working with Databases"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/","name":"Learn how to Check and repair databases","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png","datePublished":"2014-09-23T00:06:27+00:00","dateModified":"2025-12-31T18:49:51+00:00","description":"In this article, we will show you how to check and repair a MySQL database in cPanel.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/09\/cpanel_cPanel_mysqlDatabasesIcon_highlight.png","width":815,"height":430},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/check-and-repair-databases-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Check and Repair MySQL Databases"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/83776252b196c020e4352a3796e5642b","name":"Jeff Matson","url":"https:\/\/www.inmotionhosting.com\/support\/author\/jeffma\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4305,"name":"Working with Databases","slug":"databases","link":"https:\/\/www.inmotionhosting.com\/support\/server\/databases\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=3395"}],"version-history":[{"count":9,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3395\/revisions"}],"predecessor-version":[{"id":131390,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3395\/revisions\/131390"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=3395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=3395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=3395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}