{"id":562,"date":"2016-10-10T23:42:13","date_gmt":"2016-10-10T22:42:13","guid":{"rendered":"http:\/\/www.webhostingsrbija.rs\/?p=562"},"modified":"2016-10-10T23:42:13","modified_gmt":"2016-10-10T22:42:13","slug":"kako-da-promenite-lozinku-za-bazu-u-wordpress","status":"publish","type":"post","link":"https:\/\/www.webhostingsrbija.rs\/en\/kako-da-promenite-lozinku-za-bazu-u-wordpress\/","title":{"rendered":"How to change database password in WordPress?"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Login to cPanel -&gt; File Manager -&gt; public_html<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Change the new password in cPanel &gt; MySQL databases &gt; at the bottom where &quot;Users&quot; are, there you can change the password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Find the file wp-config.php right click and go to edit<br>in the code you should have:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ ** MySQL settings - You can get this info from your web host ** \/\/ \/** The name of the database for WordPress *\/ define(&#039;DB_NAME&#039;, &#039;cpanel_wrdp1&#039;); \/** MySQL database username *\/ define(&#039;DB_USER&#039;, &#039;cpanel_aca1337&#039;); \/** MySQL database password *\/ define(&#039;DB_PASSWORD&#039;, &#039;HERE GOES THE NEW ONE YOU CHANGED&#039;); \/** MySQL hostname *\/ define(&#039;DB_HOST&#039;, &#039;localhost&#039;);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">after that just enter the new password in the line for DB_PASSWORD. Save and that&#039;s it.<\/p>","protected":false},"excerpt":{"rendered":"<p>Log in to cPanel -&gt; File Manager -&gt; public_html Change the new password in cPanel &gt; MySQL databases &gt; at the bottom where there are &quot;Users&quot; there you can change the password. Find the file wp-config.php right click and go to edit the code you should have: after that just enter the new password in the line for DB_PASSWORD. Save and that&#039;s it.<\/p>","protected":false},"author":1,"featured_media":1993,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[20,18,19],"tags":[],"class_list":["post-562","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-kako","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts\/562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/comments?post=562"}],"version-history":[{"count":0,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts\/562\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/media?parent=562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/categories?post=562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/tags?post=562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}