{"id":13828,"date":"2019-01-13T19:51:37","date_gmt":"2019-01-13T19:51:37","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=13828"},"modified":"2025-02-19T11:06:50","modified_gmt":"2025-02-19T11:06:50","slug":"wordpress-database","status":"publish","type":"post","link":"\/my\/tutorials\/wordpress-database","title":{"rendered":"WordPress Database: What It Is, How to Manage It, and Best Practices"},"content":{"rendered":"<p>A WordPress database stores all the data that makes up a WordPress website, including login credentials, pages, posts, themes, and plugins.<\/p><p>Basic knowledge of databases helps you understand how the platform works and troubleshoot errors more efficiently. It also enables you to perform tasks inaccessible through the WordPress dashboard, such as changing usernames.<\/p><p>In this article, we&rsquo;ll explain what a WordPress database is and why it&rsquo;s important. We&rsquo;ll also show how you can access and manage it.<\/p><p>\n\n\n\n\n\n\n\n<div class=\"protip\">\n                    <h2 class=\"featured-snippet title\">What Is a WordPress Database?<\/h2>\n                    <p> A WordPress database is a storage of your website data that uses the <a href=\"\/my\/tutorials\/what-is-mysql\">MySQL<\/a> database management system. All WordPress databases have a default MySQL structure, which enables your website to function properly.<\/p>\n                <\/div>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-a-wordpress-database-works\">How a WordPress Database Works<\/h2><p>When <a href=\"\/my\/tutorials\/how-to-install-wordpress\">installing WordPress<\/a> for the first time, you&rsquo;ll also create a database to contain the core tables. It is usually stored on your web host server, often referred to as a database host.<\/p><p>A <a href=\"\/my\/tutorials\/dbms\">database management system (DBMS)<\/a> is then used to control and manage it. This software splits complex data into smaller parts to organize them better.<\/p><p>DBMS works similarly to saving files and folders on a computer drive. Each folder contains specific file categories. This enables users to locate, modify, and delete any desired data easily.<\/p><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/An-illustration-of-how-DBMS-works.jpg\"><img decoding=\"async\" width=\"1024\" height=\"815\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/An-illustration-of-how-DBMS-works-1024x815.jpg\" alt=\"An illustration of how DBMS works.\n\" class=\"wp-image-69944\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/An-illustration-of-how-DBMS-works.jpg 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/An-illustration-of-how-DBMS-works-300x239.jpg 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/An-illustration-of-how-DBMS-works-150x119.jpg 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/An-illustration-of-how-DBMS-works-768x611.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>WordPress uses MySQL as its management system. <a href=\"\/my\/tutorials\/difference-between-mysql-and-sql-server\">MySQL uses the <strong>Structured Query Language<\/strong><\/a> to create, read, update, and delete data from a database.<\/p><p>While most MySQL queries run automatically, users can also perform them manually to <a href=\"\/my\/tutorials\/wordpress\/how-to-change-wordpress-urls-in-mysql-database-using-phpmyadmin\">change WordPress URLs<\/a> and carry out other tasks.<\/p><h3 class=\"wp-block-heading\" id=\"h-what-is-a-wordpress-database-host\">What Is a WordPress Database Host?<\/h3><p>A host is a server that stores a database. Usually, a website and its database are hosted on the same server. As a result, <a href=\"\/my\/tutorials\/what-is-localhost\">localhost<\/a> is the typical hostname used to manage and connect a WordPress site to the database.<\/p><p>WordPress users can also use <a href=\"\/my\/tutorials\/mysql\/how-to-grant-remote-access-mysql-vps\">MySQL remote connection<\/a> to connect their database to a remote server. In Hostinger, simply access <strong>Remote MySQL<\/strong> in <strong>hPanel<\/strong>. Note that a Hostinger hostname is required to enable the remote connection.<\/p><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/Remote-MySQL-section-on-hPanel.png\"><img decoding=\"async\" width=\"1024\" height=\"396\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/Remote-MySQL-section-on-hPanel-1024x396.png\" alt=\"Remote MySQL section on hPanel\n\" class=\"wp-image-69945\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Remote-MySQL-section-on-hPanel.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Remote-MySQL-section-on-hPanel-300x116.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Remote-MySQL-section-on-hPanel-150x58.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Remote-MySQL-section-on-hPanel-768x297.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h3 class=\"wp-block-heading\" id=\"h-what-is-a-wordpress-database-table\">What Is a WordPress Database Table?<\/h3><p>A database stores data in the form of tables. Each table consists of unique data displayed in columns and rows that contain more specific pieces of information or parameters.<\/p><p>By default, a WordPress database contains the following tables;<\/p><ol class=\"wp-block-list\">\n<li><strong>wp_commentmeta<\/strong> &ndash; keeps the metadata of each comment posted on the website.<\/li>\n\n\n\n<li><strong>wp_comments<\/strong> &ndash; stores data related to user comments, including the author name, URL, IP address, email, and comment content.<\/li>\n\n\n\n<li><strong>wp_links<\/strong> &ndash; it was used for holding information from the Links feature. Since the feature has been deprecated, this table is often empty.<\/li>\n\n\n\n<li><strong>wp_options<\/strong> &ndash; contains WordPress configuration settings, such as website URL, default category, and posts per page.<\/li>\n\n\n\n<li><strong>wp_postmeta<\/strong> &ndash; keeps metadata of each post on the site, such as custom fields.<\/li>\n\n\n\n<li><strong>wp_posts<\/strong> &ndash; stores data from articles, custom post types, pages, and navigation menu items.<\/li>\n\n\n\n<li><strong>wp_termmeta<\/strong> &ndash; stores metadata of the terms.<\/li>\n\n\n\n<li><strong>wp_terms<\/strong> &ndash; contains the WordPress terms for each post tag and category.<\/li>\n\n\n\n<li><strong>wp_term_relationships<\/strong> &ndash; maintains the association between posts and terms in the wp_terms table.<\/li>\n\n\n\n<li><strong>wp_term_taxonomy<\/strong> &ndash; describes the taxonomy for each category, link, and tag in the wp_terms table.<\/li>\n\n\n\n<li><strong>wp_usermeta<\/strong> &ndash; keeps the metadata of each registered user on a WordPress site.<\/li>\n\n\n\n<li><strong>wp_users<\/strong> &ndash; contains the list of users, including their usernames, passwords, and email accounts.<\/li>\n<\/ol><p>Each table stores specific data about your site. When you make website changes, the data on these tables can add and pile up. That&rsquo;s why you should learn how to access and <a href=\"\/my\/tutorials\/wordpress-database-optimization\">optimize your WordPress databases<\/a>.<\/p><p>\n\n\n    <div class=\"mb-50 mt-50 mt-70-xxl\">\n        <div class=\"banner__bg \">\n            <span class=\"h3 font-weight-bold banner__header\">If getting quality web hosting is your priority, check out our plans starting at $1.99\/month.<\/span>\n                                <a href=\"\/web-hosting\" class=\"new-h-button-primary button text-white mt-30 float-right banner__btn\">Get Quality Hosting<\/a>\n                            <\/div>\n    <\/div>\n\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-access-a-wordpress-database\">How to Access a WordPress Database<\/h2><p>When setting up the platform manually, you&rsquo;ll have to create a brand new WordPress database. To speed up the process, consider looking for a hosting provider with automatic installation.<\/p><p>Our <a href=\"\/my\/wordpress-hosting\">WordPress hosting services<\/a> let you install WordPress in just a few clicks.<\/p><p>After the installation, access the database directly via your control panel, the <strong>hPanel<\/strong>:<\/p><ol class=\"wp-block-list\">\n<li>Go to <strong>Hosting <\/strong>-&gt; <strong>Manage<\/strong>.<\/li>\n\n\n\n<li>Scroll down to the <strong>Databases <\/strong>section.<\/li>\n\n\n\n<li>Select <strong>MySQL Databases <\/strong>to view and create databases and users.<\/li>\n<\/ol><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/The-list-of-current-databases-and-users-in-hPanel.png\"><img decoding=\"async\" width=\"1024\" height=\"601\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/The-list-of-current-databases-and-users-in-hPanel-1024x601.png\" alt=\"The list of current databases and users in hPanel\n\" class=\"wp-image-69946\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-list-of-current-databases-and-users-in-hPanel-1024x601.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-list-of-current-databases-and-users-in-hPanel-300x176.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-list-of-current-databases-and-users-in-hPanel-150x88.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-list-of-current-databases-and-users-in-hPanel-768x450.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-list-of-current-databases-and-users-in-hPanel.png 1132w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><ol start=\"4\" class=\"wp-block-list\">\n<li>Click <strong>Enter phpMyAdmin<\/strong> to access the database.<\/li>\n<\/ol><p>Alternatively, access phpMyAdmin using our unique direct link:<\/p><ol class=\"wp-block-list\">\n<li>Open <strong>Databases<\/strong> -&gt; <strong>phpMyAdmin<\/strong>.<\/li>\n\n\n\n<li>Click on the link at the top of the screen.<\/li>\n<\/ol><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/phpMyAdmin-direct-link-on-hPanel.png\"><img decoding=\"async\" width=\"1024\" height=\"432\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/phpMyAdmin-direct-link-on-hPanel-1024x432.png\" alt=\"phpMyAdmin direct link on hPanel\n\" class=\"wp-image-69947\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/phpMyAdmin-direct-link-on-hPanel-1024x432.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/phpMyAdmin-direct-link-on-hPanel-300x126.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/phpMyAdmin-direct-link-on-hPanel-150x63.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/phpMyAdmin-direct-link-on-hPanel-768x324.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/phpMyAdmin-direct-link-on-hPanel-1536x647.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/phpMyAdmin-direct-link-on-hPanel.png 1694w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><ol start=\"3\" class=\"wp-block-list\">\n<li>Once the login screen appears, fill in your MySQL database username and password.<\/li>\n<\/ol><h2 class=\"wp-block-heading\" id=\"h-how-to-manage-a-wordpress-database\">How to Manage a WordPress Database?<\/h2><p>After you click on the direct link or the <strong>Enter phpMyAdmin<\/strong> button, this interface will appear:<\/p><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/The-phpMyAdmin-interface-showing-default-WordPress-tables.png\"><img decoding=\"async\" width=\"1024\" height=\"435\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/The-phpMyAdmin-interface-showing-default-WordPress-tables-1024x435.png\" alt=\"The phpMyAdmin interface showing default WordPress tables\n\" class=\"wp-image-69951\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-phpMyAdmin-interface-showing-default-WordPress-tables.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-phpMyAdmin-interface-showing-default-WordPress-tables-300x128.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-phpMyAdmin-interface-showing-default-WordPress-tables-150x64.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-phpMyAdmin-interface-showing-default-WordPress-tables-768x327.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>Here, you can access the default WordPress database tables and perform basic management tasks, such as:<\/p><ul class=\"wp-block-list\">\n<li>Running a MySQL <a href=\"\/my\/tutorials\/what-is-a-query\">query<\/a>.<\/li>\n\n\n\n<li>Creating and deleting tables.<\/li>\n\n\n\n<li>Searching and sorting data based on specified criteria.<\/li>\n\n\n\n<li>Inserting, editing, and deleting records, rows, and columns.<\/li>\n<\/ul><p>Remember that a database contains essential settings for your WordPress website. Thus, be careful not to remove any data accidentally.<\/p><p>As a precaution, we recommend creating a database backup:<\/p><ol class=\"wp-block-list\">\n<li>Choose the database source on the left pane.<\/li>\n\n\n\n<li>Go to the <strong>Export <\/strong>tab.<\/li>\n\n\n\n<li>Pick an export method &ndash; <strong>Quick <\/strong>or <strong>Custom<\/strong>. The first option lets you quickly download the backup file, while the latter gives more options when exporting.<\/li>\n\n\n\n<li>Select the database format &ndash; <strong>SQL <\/strong>is the most common.<\/li>\n\n\n\n<li>Click <strong>Go<\/strong>.<\/li>\n<\/ol><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/Exporting-a-database-table-in-phpMyAdmin.png\"><img decoding=\"async\" width=\"1024\" height=\"312\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/Exporting-a-database-table-in-phpMyAdmin-1024x312.png\" alt=\"Exporting a database table in phpMyAdmin\n\" class=\"wp-image-69952\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Exporting-a-database-table-in-phpMyAdmin.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Exporting-a-database-table-in-phpMyAdmin-300x91.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Exporting-a-database-table-in-phpMyAdmin-150x46.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Exporting-a-database-table-in-phpMyAdmin-768x234.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>Your computer will then download and save the SQL files. To retrieve the database backup file, simply go to the <strong>Import <\/strong>tab, upload the correct file, and click <strong>Go<\/strong>.<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Pro Tip<\/h4>\n                    <p> You can also use WordPress plugins to manage your database. Check out our list of the best <a href=\"\/my\/tutorials\/wordpress-database-plugins\">WordPress database management plugins<\/a>. <\/p>\n                <\/div>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-optimize-a-wordpress-database\">How to Optimize a WordPress Database<\/h2><p>Database tables can become fragmented over time, creating memory overheads that affect the MySQL query speed. Fortunately, phpMyAdmin enables you to optimize the database:<\/p><ol class=\"wp-block-list\">\n<li>Go to <strong>Hosting <\/strong>-&gt; <strong>Manage<\/strong>.<\/li>\n\n\n\n<li>Access <strong>Databases<\/strong> -&gt; <strong>phpMyAdmin <\/strong>-&gt; <strong>Enter phpMyAdmin<\/strong>.<\/li>\n\n\n\n<li>Under the <strong>Structure <\/strong>section, click on <strong>Check all <\/strong>-&gt;<strong> Optimize table<\/strong>.<\/li>\n<\/ol><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/Optimizing-database-tables-in-phpMyAdmin.png\"><img decoding=\"async\" width=\"1024\" height=\"554\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/Optimizing-database-tables-in-phpMyAdmin-1024x554.png\" alt=\"Optimizing database tables in phpMyAdmin.\n\" class=\"wp-image-69953\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Optimizing-database-tables-in-phpMyAdmin-1024x554.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Optimizing-database-tables-in-phpMyAdmin-300x162.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Optimizing-database-tables-in-phpMyAdmin-150x81.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Optimizing-database-tables-in-phpMyAdmin-768x416.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Optimizing-database-tables-in-phpMyAdmin.png 1327w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>This process will clean up some memory and boost database performance.<\/p><h2 class=\"wp-block-heading\" id=\"h-other-helpful-database-tricks-in-hpanel\">Other Helpful Database Tricks in hPanel<\/h2><p>Apart from managing and optimizing a site&rsquo;s database, <strong>hPanel <\/strong>also enables you to perform other database-related tasks.<\/p><h3 class=\"wp-block-heading\" id=\"h-change-the-current-wordpress-database-password\">Change the Current WordPress Database Password<\/h3><p>Your database password needs to be updated regularly to improve your WordPress security. Here&rsquo;s how:<\/p><ol class=\"wp-block-list\">\n<li>Go to <strong>Hosting <\/strong>-&gt; <strong>Manage<\/strong> -&gt; <strong>MySQL Databases<\/strong>.<\/li>\n\n\n\n<li>Click on the three dots to the right of the <a href=\"\/my\/tutorials\/wordpress\/how-to-find-out-wordpress-database-name\">database name<\/a> and select <strong>Change Password<\/strong>.<\/li>\n\n\n\n<li>Type in your new password and click <strong>Update<\/strong>.<\/li>\n<\/ol><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/MySQL-database-on-hPanel_-change-password-option.png\"><img decoding=\"async\" width=\"1024\" height=\"450\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/MySQL-database-on-hPanel_-change-password-option-1024x450.png\" alt=\"MySQL database on hPanel: change password option\n\" class=\"wp-image-69954\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/MySQL-database-on-hPanel_-change-password-option.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/MySQL-database-on-hPanel_-change-password-option-300x132.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/MySQL-database-on-hPanel_-change-password-option-150x66.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/MySQL-database-on-hPanel_-change-password-option-768x338.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h3 class=\"wp-block-heading\" id=\"h-change-permissions\">Change Permissions<\/h3><p>By default, <a href=\"\/my\/tutorials\/mysql\/how-create-mysql-user-and-grant-permissions-command-line\">MySQL users<\/a> have complete control over modifying a database. If you want to create a custom database with limited permissions, follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>Click on the three dots and choose <strong>Change Permissions<\/strong>.<\/li>\n<\/ol><figure class=\"wp-block-image aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/User-permissions-of-the-WordPress-database-in-hPanel.png\"><img decoding=\"async\" width=\"1024\" height=\"450\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/User-permissions-of-the-WordPress-database-in-hPanel-1024x450.png\" alt=\"User permissions of the WordPress database in hPanel\n\" class=\"wp-image-69955\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/User-permissions-of-the-WordPress-database-in-hPanel.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/User-permissions-of-the-WordPress-database-in-hPanel-300x132.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/User-permissions-of-the-WordPress-database-in-hPanel-150x66.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/User-permissions-of-the-WordPress-database-in-hPanel-768x338.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><ol start=\"2\" class=\"wp-block-list\">\n<li>Unselect any permissions you wish to remove.<\/li>\n\n\n\n<li>Click <strong>Update<\/strong>.<\/li>\n<\/ol><figure class=\"wp-block-image aligncenter size-full\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/The-list-of-MySQL-user-permissions.png\"><img decoding=\"async\" width=\"681\" height=\"638\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/The-list-of-MySQL-user-permissions.png\" alt=\"The list of MySQL user permissions.\n\" class=\"wp-image-69956\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-list-of-MySQL-user-permissions.png 681w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-list-of-MySQL-user-permissions-300x281.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/The-list-of-MySQL-user-permissions-150x141.png 150w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/a><\/figure><h3 class=\"wp-block-heading\" id=\"h-delete-a-database\">Delete a Database<\/h3><p>If, for some reason, you need to remove a database, click on the options button and choose <strong>Delete<\/strong>.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/Delete-WordPress-database-via-hPanel.png\"><img decoding=\"async\" width=\"1024\" height=\"450\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/01\/Delete-WordPress-database-via-hPanel-1024x450.png\" alt=\"Delete WordPress database via hPanel\" class=\"wp-image-69957\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Delete-WordPress-database-via-hPanel.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Delete-WordPress-database-via-hPanel-300x132.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Delete-WordPress-database-via-hPanel-150x66.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/01\/Delete-WordPress-database-via-hPanel-768x338.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>\n\n    <p class=\"warning\">\n        Remember to create database backups before deleting them, as this action is irreversible.    <\/p>\n    \n\n\n<?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a href=\"\/my\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner-1024x300.png\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-1024x300.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-300x88.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-150x44.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-768x225.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-1536x450.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>Databases are an essential part of WordPress sites. They store data and files and ensure your website works well.<\/p><p>In this guide, we&rsquo;ve explained what a WordPress database is, how it works, and its main components. We&rsquo;ve also shown you how to access and manage your databases via hPanel and phpMyAdmin.<\/p><p>If you have any questions, please share them in the comment section below.<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Learn Other Advanced WordPress Techniques<\/h4>\n                    <p><a href=\"\/my\/tutorials\/wordpress-pagination\">WordPress Pagination Guide<\/a><br>\n<a href=\"\/my\/tutorials\/create-a-shortcode-in-wordpress\">How to Create a Shortcode in WordPress<\/a><br>\n<a href=\"\/my\/tutorials\/wordpress-lazy-load\">Guide to Lazy Loading on WordPress<\/a><br>\n<a href=\"\/my\/tutorials\/wordpress-excerpt-length\/\">How to Change WordPress Excerpt Length<\/a><br>\n<a href=\"\/my\/tutorials\/wordpress-a-b-testing\">A Complete Guide to WordPress A\/B Testing<\/a><br>\n<a href=\"\/my\/tutorials\/how-to-hide-page-title-wordpress\">How to Hide a Page Title in WordPress<\/a><br>\n<a href=\"\/my\/tutorials\/how-to-add-tables-in-wordpress\">How to Create Tables in WordPress<\/a><\/p>\n                <\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A WordPress database stores all the data that makes up a WordPress website, including login credentials, pages, posts, themes, and plugins. Basic knowledge of databases helps you understand how the platform works and troubleshoot errors more efficiently. It also enables you to perform tasks inaccessible through the WordPress dashboard, such as changing usernames. In this [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/my\/tutorials\/wordpress-database\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":100,"featured_media":64048,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"WordPress Database: What It Is, How to Manage It, and More","rank_math_description":"WordPress database is the storage of all website data, from account information to content, that uses MySQL as its system. Learn how to get the most of it here.","rank_math_focus_keyword":"WordPress database","footnotes":""},"categories":[22638,22632],"tags":[],"class_list":["post-13828","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/wordpress-database","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/banco-de-dados-wordpress","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/wordpress-base-de-donnees","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/que-es-base-datos-wordpress","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/apa-itu-database","default":0},{"locale":"ja-JP","link":"https:\/\/www.hostinger.com\/jp\/tutorials\/wordpress-database","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/wordpress-database","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/wordpress-database","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/wordpress-database","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/que-es-base-datos-wordpress","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/que-es-base-datos-wordpress","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/que-es-base-datos-wordpress","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/banco-de-dados-wordpress","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/wordpress-database","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/wordpress-database","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/wordpress-database","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/wordpress-database","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/13828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/users\/100"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/comments?post=13828"}],"version-history":[{"count":39,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/13828\/revisions"}],"predecessor-version":[{"id":123124,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/13828\/revisions\/123124"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/media\/64048"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/media?parent=13828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/categories?post=13828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/tags?post=13828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}