{"id":387,"date":"2021-07-23T12:28:55","date_gmt":"2021-07-23T12:28:55","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/how-to-delete-a-mysql-database\/"},"modified":"2021-07-23T12:28:55","modified_gmt":"2021-07-23T12:28:55","slug":"how-to-delete-a-mysql-database","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/how-to-delete-a-mysql-database\/","title":{"rendered":"How to Delete a MySQL\u00ae Database"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>This document describes how to manually delete a MySQL\u00ae database from a cPanel &#038; WHM server. This is useful if, for example, you converted your MySQL databases to a different database type, such as PostgreSQL\u00ae or SQLite.<\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>We <strong>strongly<\/strong> suggest that you first try to delete databases through cPanel\u2019s <em>MySQL\u00ae Databases<\/em> interface. If you manually delete a cPanel user\u2019s database, the database map will become corrupt. This will cause errors and failures in backups because the system cannot properly remove outdated backups.<\/li>\n<\/ul><\/div>\n<\/div>\n<h2 id=\"delete-mysql-database\">Delete MySQL database<\/h2>\n<p>To delete a MySQL database, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Log in to the WHM interface as the <code>root<\/code> user.<\/p>\n<\/li>\n<li>\n<p>Navigate to the <em>SQL Services<\/em> section (<em>WHM &gt;&gt; Home &gt;&gt; SQL Services<\/em>) and click <em>phpMyAdmin<\/em>. The <em>phpMyAdmin<\/em> interface will appear.<\/p>\n<\/li>\n<li>\n<p>In the far-left column, select the database that you wish to delete.<\/p>\n<\/li>\n<li>\n<p>At the top of the interface, click <em>Operations<\/em>. A new interface will appear.<\/p>\n<\/li>\n<li>\n<p>Under the <em>Remove database<\/em> heading, click <em>Drop the database (DROP)<\/em>.<\/p>\n<\/li>\n<li>\n<p>Click <em>OK<\/em> to confirm that you wish to delete the database. A success message will appear.<\/p>\n<\/li>\n<li>\n<p>If a cPanel user owned the database, navigate to cPanel\u2019s <em>MySQL\u00ae Databases<\/em> interface and delete the database\u2019s entry.<\/p>\n<\/li>\n<\/ol>\n<p>For more information about phpMyAdmin, visit the PhpMyAdmin documentation.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview This document describes how to manually delete a MySQL\u00ae database from a cPanel &#038; WHM server. This is useful if, for example, you converted your MySQL databases to a different database type, such as PostgreSQL\u00ae or SQLite. Important: We strongly suggest that you first try to delete databases through cPanel\u2019s MySQL\u00ae Databases interface. If &hellip;<\/p>\n","protected":false},"author":1,"featured_media":388,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/387"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=387"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/387\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/388"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}