{"id":1383,"date":"2021-07-26T06:05:22","date_gmt":"2021-07-26T11:05:22","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=1383"},"modified":"2021-09-16T07:22:44","modified_gmt":"2021-09-16T12:22:44","slug":"wordpress-database-guide","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/","title":{"rendered":"WordPress Database Guide"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #212121;color:#212121\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #212121;color:#212121\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#what_is_a_wordpress_database\" >What is a WordPress Database<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#what_database_server_storage_engines_are_supported_by_wordpress\" >What Database Server Storage Engines are Supported by WordPress?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#what_are_the_default_wordpress_database_tables\" >What are the Default WordPress Database Tables?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#how_are_wordpress_tables_related\" >How are WordPress Tables Related?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#how_do_wordpress_files_know_how_to_connect_to_a_database\" >How Do WordPress Files Know How to Connect to a Database?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#how_to_generate_wp-configphp_security_keys\" >How to Generate wp-config.php Security Keys?<\/a><\/li><\/ul><\/nav><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"what_is_a_wordpress_database\"><span class=\"ez-toc-section\" id=\"what_is_a_wordpress_database\"><\/span>What is a WordPress Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The WordPress database is where information is stored regarding pages, posts, comments, themes, plugins, users &#8211; all kinds of great stuff!<\/p>\n\n\n\n<p>Within the database there are 12+ tables which store specific, related information.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"what_database_server_storage_engines_are_supported_by_wordpress\"><span class=\"ez-toc-section\" id=\"what_database_server_storage_engines_are_supported_by_wordpress\"><\/span>What Database Server Storage Engines are Supported by WordPress?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Currently MySQL and MariaDB. Perhaps someday we\u2019ll see PostgresSQL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"what_are_the_default_wordpress_database_tables\"><\/span>What are the Default WordPress Database Tables?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>  wp_comments  comments\n  wp_commentmeta  metadata about comments\n  wp_links  deprecated but can be enabled via links manager plugin\n  wp_options  administration -&gt; settings\n  wp_posts  posts, pages and navigation menu items\n  wp_postmeta  metadata about posts\n  wp_term_relationships post association with categories and tags from wp_terms table\n  wp_term_taxonomy  category, link or tag (taxonomy) for wp_terms entries\n  wp_termmeta  metadata about terms\n  wp_terms  categories, links and tags for posts\n  wp_usermeta  metadata about users\n  wp_users  users<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how_are_wordpress_tables_related\"><span class=\"ez-toc-section\" id=\"how_are_wordpress_tables_related\"><\/span>How are WordPress Tables Related?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Tables are specific to a particular set of information and relate to other tables so that additional information about it can be associated.<\/p>\n\n\n\n<p>For example: Posts are stored in separate tables from comments. The two have a relationship so that the correct comment gets displayed with the correct post.<\/p>\n\n\n\n<p>Here&#8217;s a diagram showing table contents and relationships:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"726\" height=\"1024\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD-726x1024.png\" alt=\"\" class=\"wp-image-1384\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD-726x1024.png 726w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD-213x300.png 213w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD-768x1083.png 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD.png 793w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/codex.wordpress.org\/Database_Description#Database_Diagram\">WordPress Database Diagram<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how_do_wordpress_files_know_how_to_connect_to_a_database\"><span class=\"ez-toc-section\" id=\"how_do_wordpress_files_know_how_to_connect_to_a_database\"><\/span>How Do WordPress Files Know How to Connect to a Database?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>When you first install WordPress a file call wp-config-sample.php is placed on the server which you then need to copy as wp-config.php and edit to fit your hosting scenario.<\/p>\n\n\n\n<p><strong>Note:<\/strong>&nbsp;Many installers and hosting company scripts will create the correct file using data you provide during the installation process, so don&#8217;t sweat this for now.<\/p>\n\n\n\n<p>When editing wp-config.php, avoid using Word and other word processors &#8211; use a text editor instead. Otherwise, odd characters can get inserted that will result in errors.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  wp-config.php Contents<\/code><\/pre>\n\n\n\n<p>The wp-config-sample.php file contains information about connecting to the database, key options and parameters such as security and optimization details. Here&#8217;s a breakdown of the wp-config.php file contents.<\/p>\n\n\n\n<p><br><strong>Note:<\/strong>&nbsp;When you see lines in the wp-config.php file starting with&nbsp;<em>and ending with&nbsp;<\/em>or starting with the text inbetween those are all comments. In other words, they don&#8217;t actually represent any instructions for the server to execute.<\/p>\n\n\n\n<p><strong>DATABASE CONNECTION AND STRING HANDLING<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  \/\/ ** MySQL settings - You can get this info from your web host ** \/\/\n  \/** The name of the database for WordPress *\/\n  define( 'DB_NAME', 'database_name_here' );\n  \n  \/** MySQL database username *\/\n  define( 'DB_USER', 'username_here' );\n  \n  \/** MySQL database password *\/\n  define( 'DB_PASSWORD', 'password_here' );\n  \n  \/** MySQL hostname *\/\n  define( 'DB_HOST', 'localhost' );<\/code><\/pre>\n\n\n\n<p>You may also find:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  \/** Database Charset to use in creating database tables. *\/\n  define('DB_CHARSET', 'utf8');\n  \n  \/** The Database Collate type. Don't change this if in doubt. *\/\n  define('DB_COLLATE', '');<\/code><\/pre>\n\n\n\n<p><strong>SECURITY KEYS<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  define('AUTH_KEY','F~)M6NUROA{!D+z&amp;Lw\/1S4CSN_Ba\/Kv]L&lt;rU*%X:_=&#91;URiuwh^!fC3r6TN,4QHSv');\n  \n  define('SECURE_AUTH_KEY', 'cEh&#91;n@U]RXB8D=F2.8f+L&lt;GuLtE38J&amp;T)(]Y0B~zs+KNmSN-2Pyanv,_0_z-V7&#91;`');\n  \n  define('LOGGED_IN_KEY', 'n9]SF]^w_KI&amp;&lt;DiY+m@n:5#g:%V9XOE:9GJ!oj27-R$W7J}yN*4gUE+&lt;+3wF%IAw');\n  \n  define('NONCE_KEY','Oi~%Gno,_1W1iZs:Mjthu7y*cs4:A0UEavP8K&amp;D|hlugV:Zp&gt;xnggIR2a6ZG&amp;(5$');\n  \n  define('AUTH_SALT','l|o:wBFNU|+a0Q]t!P$1qyQcd3H4.~|x)F#I{Bc2@]4&amp;mJounFDXBE#]GeA;&amp;8u');\n  \n  define('SECURE_AUTH_SALT','vhj%dQPbaPUBluq}(2~H8\/$#\/AF^F4pT\/7q_3zQ;|U7#M^`{(23).RKXLj2O(4qB');\n  \n  define('LOGGED_IN_SALT', 'dVM%Z}OHs7ZQv8]M&amp;!)W*j`6&#91;Qpw):u$0)BLfo5$U-+RV+_J_iJueUXg*wgQMj+D');\n    \n  define('NONCE_SALT','q^&amp;f&lt;lj.e49Y}I1Yl]\/{u8j+jt&lt;A7YN|Zr&#91;NicVyEF@$&gt;uM$Fcl?]k{r5e9V9p+');<\/code><\/pre>\n\n\n\n<p>You should immediately change these for improved security.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how_to_generate_wp-configphp_security_keys\"><span class=\"ez-toc-section\" id=\"how_to_generate_wp-configphp_security_keys\"><\/span>How to Generate wp-config.php Security Keys?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Pop over to the secret key&nbsp;API&nbsp;and it&#8217;ll generate a new set for you. Hit refresh a few times and copy\/paste the result over the top of your current keys in wp-config.php.<\/p>\n\n\n\n<p><a href=\"https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/\">WordPress Keys<\/a><\/p>\n\n\n\n<p><strong>DATABASE TABLE PREFIX<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  $table_prefix = 'wp_';<\/code><\/pre>\n\n\n\n<p>This is the default. It&#8217;s recommended that something other than wp_ be used for security sake. Use letters, numbers and underscore only.<\/p>\n\n\n\n<p><strong>LOCALIZED LANGUAGE<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  define ('WPLANG', '');\n  define('LANGDIR', '');<\/code><\/pre>\n\n\n\n<p>English is the default language. If you&#8217;d like to set language to something else, just the 2 letter language code &#8211; like: de inside the single quotes.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  define ('WPLANG', 'de');<\/code><\/pre>\n\n\n\n<p>You&#8217;ll also need to install the de.mo into the wp-content\/languages folder (primary path) or wp- includes\/languages (secondary path). Make sure that your 2 letter code matches the .mo file you install.<\/p>\n\n\n\n<p>If you&#8217;d like to put the language file(s) in a different location, you can set that via LANGDIR.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  define('LANGDIR', 'wp-includes\/lang');<\/code><\/pre>\n\n\n\n<p>See Frequently Asked Question Regarding the WordPress Database.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is a WordPress Database The WordPress database is where information is stored regarding pages, posts, comments, themes, plugins, users &#8211; all kinds of great stuff! Within the database there are 12+ tables which store specific, related information. What Database Server Storage Engines are Supported by WordPress? Currently MySQL and MariaDB. Perhaps someday we\u2019ll see [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[251,252,257,106],"class_list":["post-1383","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-blogs","tag-cms","tag-database","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WordPress Database Guide - KnownHost<\/title>\n<meta name=\"description\" content=\"Want to learn more about WordPress database and how it works? Read inside to understand the inner workings of WordPress.\" \/>\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.knownhost.com\/kb\/wordpress-database-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress Database Guide - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Want to learn more about WordPress database and how it works? Read inside to understand the inner workings of WordPress.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-26T11:05:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-16T12:22:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD-726x1024.png\" \/>\n<meta name=\"author\" content=\"Jonathan K. W.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan K. W.\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/\"},\"author\":{\"name\":\"Jonathan K. W.\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"headline\":\"WordPress Database Guide\",\"datePublished\":\"2021-07-26T11:05:22+00:00\",\"dateModified\":\"2021-09-16T12:22:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/\"},\"wordCount\":480,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/WP4.4.2-ERD-726x1024.png\",\"keywords\":[\"blogs\",\"cms\",\"database\",\"wordpress\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/\",\"name\":\"WordPress Database Guide - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/WP4.4.2-ERD-726x1024.png\",\"datePublished\":\"2021-07-26T11:05:22+00:00\",\"dateModified\":\"2021-09-16T12:22:44+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"description\":\"Want to learn more about WordPress database and how it works? Read inside to understand the inner workings of WordPress.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/WP4.4.2-ERD.png\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/WP4.4.2-ERD.png\",\"width\":793,\"height\":1118},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-database-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress Database Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\",\"name\":\"Jonathan K. W.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"caption\":\"Jonathan K. W.\"},\"sameAs\":[\"https:\\\/\\\/www.knownhost.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress Database Guide - KnownHost","description":"Want to learn more about WordPress database and how it works? Read inside to understand the inner workings of WordPress.","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.knownhost.com\/kb\/wordpress-database-guide\/","og_locale":"en_US","og_type":"article","og_title":"WordPress Database Guide - KnownHost","og_description":"Want to learn more about WordPress database and how it works? Read inside to understand the inner workings of WordPress.","og_url":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/","og_site_name":"KnownHost","article_published_time":"2021-07-26T11:05:22+00:00","article_modified_time":"2021-09-16T12:22:44+00:00","og_image":[{"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD-726x1024.png","type":"","width":"","height":""}],"author":"Jonathan K. W.","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jonathan K. W.","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/"},"author":{"name":"Jonathan K. W.","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"headline":"WordPress Database Guide","datePublished":"2021-07-26T11:05:22+00:00","dateModified":"2021-09-16T12:22:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/"},"wordCount":480,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD-726x1024.png","keywords":["blogs","cms","database","wordpress"],"articleSection":["WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/","url":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/","name":"WordPress Database Guide - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD-726x1024.png","datePublished":"2021-07-26T11:05:22+00:00","dateModified":"2021-09-16T12:22:44+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"description":"Want to learn more about WordPress database and how it works? Read inside to understand the inner workings of WordPress.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD.png","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/WP4.4.2-ERD.png","width":793,"height":1118},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/wordpress-database-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"WordPress Database Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b","name":"Jonathan K. W.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","caption":"Jonathan K. W."},"sameAs":["https:\/\/www.knownhost.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/1383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=1383"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/1383\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=1383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=1383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=1383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}