{"id":581,"date":"2023-07-12T08:04:35","date_gmt":"2023-07-12T08:04:35","guid":{"rendered":"https:\/\/cachitoswp.com\/?p=581"},"modified":"2025-06-01T18:17:50","modified_gmt":"2025-06-01T18:17:50","slug":"modify-wp-database-without-fear","status":"publish","type":"post","link":"https:\/\/cachitoswp.com\/en\/modify-wp-database-without-fear\/","title":{"rendered":"Easily modify and tinker with your WordPress database without fear"},"content":{"rendered":"<p class=\"wp-block-paragraph\">I start with the intro for beginners or foolish users of Elementor and similar: The database of your WordPress is where the posts and pages and all the options of the theme, the plugins and each little box that you fill out and then click on are stored. &quot;keep&quot;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The BD (Hey, did you know that in France, these acronyms mean something like &quot;comic&quot;?) <strong>It is not intended to be &quot;fiddled&quot; directly;<\/strong> It can be done and nothing happens, but we are supposed to have the WP admin interface and the front of the website to interact with it.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"371\" height=\"209\" src=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/modifica-base-datos-wordpress-facil.webp\" alt=\"User modifies the wordpress database easily and without problems\" class=\"wp-image-589\"\/><figcaption class=\"wp-element-caption\">I take this away because I don&#039;t know what it&#039;s for hale<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After all, we could almost <strong>manage a WP directly from the database<\/strong> (which is still a set of tables, like those in Excel) without using the &quot;admin&quot;. What happens is that it is neither so comfortable nor so visual.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">The WordPress database is as it is with its standard protections, and adding a plugin that accesses all of it, well what do you want me to say, it is an extra door that you have there. <\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">To access it, our hosting provides us with access data, which we can use to connect to it remotely from a program (a program is a <strong>app <\/strong>also, yes) customer <strong>MYSQL<\/strong>, for example <strong>heidi<\/strong>, <strong>Workbench <\/strong>etc And with this &quot;program&quot; you navigate through its pages <strong>as if it were an excel.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then there is language <strong>SQL<\/strong>, which is to search and do specific things with the data, we can use it either with the previous program, or by <strong>Command line<\/strong> (hackerrrr mode), or the easy way that hosting providers always give us is, in their options panel, an online software called <strong>PHPMyAdmin<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wham-vintage.com\/wham-vintage-barcelona-contactar\/\" target=\"_blank\" rel=\" noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/11\/banner.webp\" alt=\"\" class=\"wp-image-1303\"\/><\/a><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">He <strong>PHPMyAdmin <\/strong>It&#039;s okay, you can do things without having any idea of SQL code, such as searching and modifying values and texts, and also exporting the entire database or certain tables, to have your backups, do migrations, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What I am going to tell you - but don&#039;t tell too many people - is that there are cases in which I have come across a website in which I had to do &quot;things&quot;, and I have needed access to the database. &quot;bareback&quot;, and<strong> I did not have complete credentials or access to PHPMyAdmin.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group alignwide has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-f56f613f wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image alignright size-full is-resized has-custom-border\" style=\"max-height:350px\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"750\" src=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/nino-modifica-base-de-datos-2.jpg\" alt=\"Modify WordPress database safely\" class=\"wp-image-591\" style=\"border-top-left-radius:0px;border-top-right-radius:20px;border-bottom-left-radius:20px;border-bottom-right-radius:0px;width:377px;height:363px\" srcset=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/nino-modifica-base-de-datos-2.jpg 750w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/nino-modifica-base-de-datos-2-400x400.jpg 400w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption class=\"wp-element-caption\">I&#039;m going to press this postgoal and see what happens...<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full is-resized has-custom-border is-style-rounded\" style=\"max-height:350px\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"625\" src=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/nino-modifica-base-de-datos.jpg\" alt=\"Success modifying the database\" class=\"wp-image-590\" style=\"border-top-left-radius:0px;border-top-right-radius:25px;border-bottom-left-radius:25px;border-bottom-right-radius:0px;width:455px;height:380px\" srcset=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/nino-modifica-base-de-datos.jpg 750w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/nino-modifica-base-de-datos-480x400.jpg 480w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption class=\"wp-element-caption\">Come on, fix it!<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"plugins-para-tocar-a-pelo-la-base-de-datos-y-la-recomendacion-sin-miedo-pero-con-cuidao\">Plugins to bareback the database, and the recommendation: Without fear, but with &quot;care&quot;;<\/h2>\n\n\n<p class=\"wp-block-paragraph\">As always, there are plugins for this. Let&#039;s see, while it is true that you should not be afraid of touching the database,<strong> You have to be careful<\/strong>, as with everything, but a little more. So, before recommending plugins, I tell you that it is important that if you add one, you do what you have to do with it, and then uninstall it, or restrict it to administrator users. And of course, before doing anything, backup the entire database.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The WordPress database &quot;is as it is&quot; with its standard protections, and adding a plugin that accesses all of it, well what do you want me to tell you, it is a <strong>extra door you have there<\/strong>. So it&#039;s better to simply remove the door when you leave.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-plugin-directory wp-block-embed-plugin-directory\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"JZQRb2Vsaa\"><a href=\"https:\/\/wordpress.org\/plugins\/wp-data-access\/\">WP Data Access<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"\u201cWP Data Access\u201d \u2014 Plugin Directory\" src=\"https:\/\/wordpress.org\/plugins\/wp-data-access\/embed\/#?secret=Ae2iqFQy2n#?secret=JZQRb2Vsaa\" data-secret=\"JZQRb2Vsaa\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/wpdataaccess.com\/\">WP Data Access<\/a><\/strong> It is my favorite plugin to change &quot;things&quot; directly in the DB; It&#039;s not like I&#039;ve tried so many, but this one works great for me and is very useful and intuitive.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"casos-comunes-en-los-que-he-tenido-que-recurrir-a-explorar-la-base-de-datos-con-wpda\">Common cases in which I have had to resort to exploring the database with WPDA<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Well look, I&#039;ll tell you some real field work cases, which happen to me frequently:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Having to change the main email of the site administrator, and not being able to, because, for whatever reason, the email does not appear to confirm the change.<\/strong><br><br>Yep. It has happened to me several times that, on a site where the emails work perfectly, the email to confirm the admin change never arrives or you can&#039;t find it. Well, it is one of the cases in which, using WPDA I have gone to the _options table, I have changed the admin_email and I have not had to wait for the confirmation notice to make the change. Time saved.<br><br><\/li>\n\n\n\n<li><strong>Having to modify a text that appears in a corner of the web... that YOU DON&#039;T KNOW where it comes from. (A text that you know 100% is not malware, be careful, it would not be the case of the typical Russian or Viagra text, this would be an entire post on the topic of malware, which is not the case here) <\/strong><br><br>This is super typical: Client tells you, change this text to me, and you say okay; You go to the page in your backend, and it is not there, neither in the content nor in the fields, nor in the widget... you look at the theme settings and you cannot find it, you download the entire theme by ftp to search for the text in the php, and nothing, the text you want to change does not appear... well it is clear that it is in the database; In these cases, I first look for it in the _options table, then in _postmeta, and hey, if it&#039;s not there, I do a global search throughout the database, and it always appears, sometimes it was a field from a plugin that let you add text before or after a form or widget, etc.;<br><br><\/li>\n\n\n\n<li><strong>Like the previous one, but in the case of a custom field, that you know at 100% that it exists, but its form field does not appear in the administrator.<\/strong><br><br>Well yes; When we uninstall plugins, in many cases their settings information is still in the database; Also, there are cases in which we may have mixed it up with the ACF and its options to be shown in content type content editor). Well, for a quick fix, if it is a custom field, it will be in _postmeta, and if you know it is the post content, in _posts, you go, look for it and change it...<br><\/li>\n\n\n\n<li><strong>Exports and imports<\/strong> (plugin contents)<br><br>To export or import posts, no, because with the relationships that exist with the terms and the postmeta, you can mess things up. <strong>Always be careful with relationships.<\/strong><br><br>But it has worked great for me to export and import plugin content. For example, maps, sliders, testimonials, etc. created with a plugin, which creates its own tables to store these contents. With a little Google, you can always find which tables are generated by each plugin. <br><br>A real plugin case study was with MAPSVG, an interactive map plugin. I had to move a lot of maps that had a lot of information, and with two clicks I was able to get everything in a CSV, truly magical.<\/li>\n<\/ol>\n\n\n<h2 class=\"wp-block-heading\" id=\"uso-basico-de-wp-data-access\">Basic use of WP Data Access<\/h2>\n\n\n<p class=\"wp-block-paragraph\">The main default view of <strong>WPDA<\/strong>, is your table explorer. Here we have them all listed and we can <strong>look for <\/strong>(search for TABLES, not data within them). He <strong>prefix<\/strong> of our tables may be different.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example: &quot;lgtbi_options, lgtbi_comments&quot;. Where I write lgtbi_, which are four random letters that came out as is, you must have others. If the prefix of your table name is &quot;wp_&quot;, you should change it or ask to have it changed, as an additional security measure. It&#039;s so that hackers get involved and don&#039;t know that your database is from a WP. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We continue, as I said, here first the tables of our database:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"693\" src=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-1200x693.jpg\" alt=\"\" class=\"wp-image-605\" srcset=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-1200x693.jpg 1200w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-640x369.jpg 640w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-768x443.jpg 768w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access.jpg 1225w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hovering over each table we have 2 options, table configuration (manage), and exploration (explore, see &quot;what has pol inside&quot;):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"695\" src=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-2-1200x695.jpg\" alt=\"\" class=\"wp-image-604\" srcset=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-2-1200x695.jpg 1200w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-2-640x371.jpg 640w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-2-768x445.jpg 768w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/explorador-de-tablas-wp-data-access-2.jpg 1227w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once we enter the data explorer of a table, we have the options and values. Now we can search here for an option or value using the search box. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The values are what we can change here, in the example, in the following screenshot, you can see the admin email of my _options. If I change it here to sack, the prior approval email is NOT sent to the previous email address.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"695\" src=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/modificacion-datos-con-wp-data-access-1200x695.webp\" alt=\"\" class=\"wp-image-608\" srcset=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/modificacion-datos-con-wp-data-access-1200x695.webp 1200w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/modificacion-datos-con-wp-data-access-640x370.webp 640w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/modificacion-datos-con-wp-data-access-768x445.webp 768w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/modificacion-datos-con-wp-data-access.webp 1223w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The thing is, the WordPress database<strong> It is just another text file;<\/strong> It is very large (sometimes immense) and its structure must be kept intact, <a href=\"https:\/\/boluda.com\/tutorial\/limpiar-la-base-de-datos-de-tu-wordpress\/\">handing him a cloth from time to time<\/a>, but hey; that doesn&#039;t bite. Simply, if you are not 100% sure of what you are doing, then do not touch it, if in doubt. <\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"ten-cuidado-especial-con-los-datos-serializados\">Be especially careful with serialized data<\/h2>\n\n\n<p class=\"wp-block-paragraph\">If you see an option value in a format like this:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>a:9:{s:5:\u00bbemail\u00bb;s:13:\u00bbtest@test.com\u00bb;s:4:\u00bbname\u00bb;s:15:\u00bbWerner  \nEtsebeth\u00bb;s:8:\u00bbaddress1&#8243;;s:17:\u00bb1 Giligans  \nIsland\u00bb;s:8:\u00bbaddress2&#8243;;s:1:\u00bb5&#8243;;s:4:\u00bbcity\u00bb;s:9:\u00bbCape  \nTown\u00bb;s:5:\u00bbstate\u00bb;s:2:\u00bbAL\u00bb;s:3:\u00bbzip\u00bb;s:4:\u00bb7460&#8243;;s:7:\u00bb\ncountry\u00bb;s:2:\u00bbUS\u00bb;s:5:\u00bbphone\u00bb;s:0:\u00bb\u00bb;}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9FF\">to:<\/span><span style=\"color: #B48EAD\">9<\/span><span style=\"color: #D8DEE9FF\">:<\/span><span style=\"color: #ECEFF4\">{<\/span><span style=\"color: #D8DEE9\">yes<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #B48EAD\">5<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">e-mail<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">13<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">test@test.com<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">4<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">yam<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">15<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">Werner  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">Etsebeth<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">8<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">address1<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">17<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">1 Giligans  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">island<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">8<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">address2<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">1<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">5<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">4<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">city<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">9<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">cape  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">Town<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">5<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">state<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">2<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">TO THE<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">3<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">zip<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">4<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">7460<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">7<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">country<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">2<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">U.S.<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">5<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">phone<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9\">;s:<\/span><span style=\"color: #B48EAD\">0<\/span><span style=\"color: #D8DEE9\">:<\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><span style=\"color: #D8DEE9\">;<\/span><span style=\"color: #ECEFF4\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">You CANNOT change its value as is; Be careful, it cracks. You cannot change the parts of text in quotes as is, this is another topic. I leave you this link where the types of data are explained very well:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/codection.com\/ver-todos-los-datos-diferentes-que-alberga-tu-base-de-datos-de-usuarios-de-wordpress\/\">https:\/\/codection.com\/ver-todos-los-datos-diferentes-que-alberga-tu-base-de-datos-de-usuarios-de-wordpress\/<\/a><\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"medidas-anti-manazas-y-roturas-de-site\">Anti-handling and site breakage measures<\/h2>\n\n\n<p class=\"wp-block-paragraph\">As an anti-tamper security measure, the plugin does not allow us to <strong>delete <\/strong>(drop) nor <strong>empty <\/strong>(truncate) tables that are from WP itself. (Other plugin tables etc yes, so anyway <em>careorl<\/em>; )<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"852\" height=\"516\" src=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/wp-data-tables-seguridad.jpg\" alt=\"wpda table options\" class=\"wp-image-609\" srcset=\"https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/wp-data-tables-seguridad.jpg 852w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/wp-data-tables-seguridad-640x388.jpg 640w, https:\/\/cachitoswp.com\/wp-content\/uploads\/2023\/07\/wp-data-tables-seguridad-768x465.jpg 768w\" sizes=\"auto, (max-width: 852px) 100vw, 852px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With the option <strong>import\/export<\/strong>, you can bring data to the tables from <strong>csv <\/strong>or similar. With export, you can even export all the tables, thus obtaining a <strong>backup <\/strong>of the complete database (making backup copies will improve your sex life and more, believe me).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To end; If you &quot;touch&quot; your WordPress database with the method that I have explained in this post, &quot;with plugin&quot;, even if said plugin can only be used by administrators, after doing what you do or testing it, remove it. You better remove it. Remember, <strong>backup <\/strong>and <strong>remove this plugin later*.<\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">* I clarify about removing; Remove it only if you make sporadic use of it like the one I explain in the post. WPDA has many features besides being a \u201cphpmyAdmin\u201d within WP, you can design and generate very nice data table views to display on pages and posts using shortcodes. It is very powerful.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Don&#039;t fear the database!<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>Empiezo con la intro para los principiantes o insensatos usuarios de Elementor y similares: La base de datos de tu WordPress es donde se almacenan los post y p\u00e1ginas y todas las opciones del tema, los plugins y de cada cajita que rellenas y luego le das a \u00abguardar\u00bb. La BD (Hey \u00bfsab\u00edais que en [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":582,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[1,7,16],"tags":[26,19,27,25],"class_list":["post-581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-diseno-desarrollo-web-wordpress","category-plugins","category-tutoriales","tag-base-de-datos","tag-iniciacion","tag-phpmyadmin","tag-plugins-potentes"],"mb":[],"mfb_rest_fields":["title"],"_links":{"self":[{"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/posts\/581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/comments?post=581"}],"version-history":[{"count":2,"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/posts\/581\/revisions"}],"predecessor-version":[{"id":1314,"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/posts\/581\/revisions\/1314"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/media\/582"}],"wp:attachment":[{"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/media?parent=581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/categories?post=581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cachitoswp.com\/en\/wp-json\/wp\/v2\/tags?post=581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}