{"id":1100,"date":"2023-09-20T16:49:23","date_gmt":"2023-09-20T16:49:23","guid":{"rendered":"https:\/\/www.devopssupport.in\/blog\/?p=1100"},"modified":"2023-10-01T17:01:17","modified_gmt":"2023-10-01T17:01:17","slug":"how-to-change-database-password-in-xampp-2","status":"publish","type":"post","link":"https:\/\/www.devopssupport.in\/blog\/how-to-change-database-password-in-xampp-2\/","title":{"rendered":"How to change database password in\u00a0XAMPP"},"content":{"rendered":"\n<p>XAMPP is a popular software package used for web development and testing purposes, which includes Apache, MySQL, PHP, and other tools. If you&#8217;ve been using XAMPP for your development projects and need to change the database password, this guide will walk you through the process step by step. Whether you&#8217;re enhancing security or updating your database credentials, changing the password is a straightforward task.<\/p>\n\n\n\n<p><strong>Prerequisites<\/strong><\/p>\n\n\n\n<p>Before you begin, make sure you have XAMPP installed on your system. You&#8217;ll also need access to the XAMPP control panel and a web browser.<\/p>\n\n\n\n<p><strong>Step 1: Open the XAMPP Control Panel<\/strong><\/p>\n\n\n\n<p>Start by launching the XAMPP control panel on your computer. You can typically find it in the installation directory of XAMPP or by searching for &#8220;XAMPP Control Panel&#8221; in your system&#8217;s search bar.<\/p>\n\n\n\n<p><strong>Step 2: Stop Apache and MySQL Services<\/strong><\/p>\n\n\n\n<p>In the XAMPP control panel, you&#8217;ll see a list of services like Apache, MySQL, and others. To change the database password, you should stop both the Apache and MySQL services. Click the &#8220;Stop&#8221; button next to each of these services.<\/p>\n\n\n\n<p><strong>Step 3: Access phpMyAdmin<\/strong><\/p>\n\n\n\n<p>Now that the services are stopped, open your web browser and enter the following URL: <code>http:\/\/localhost\/phpmyadmin\/<\/code>. This URL will take you to the phpMyAdmin interface, which is a web-based tool for managing MySQL databases.<\/p>\n\n\n\n<p><strong>Step 4: Navigate to User Accounts<\/strong><\/p>\n\n\n\n<p>In the phpMyAdmin interface, click on the &#8220;User accounts&#8221; tab. This tab allows you to manage the user accounts and privileges for your MySQL server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"417\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-6-1024x417.png\" alt=\"\" class=\"wp-image-1101\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-6-1024x417.png 1024w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-6-300x122.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-6-768x313.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-6-850x346.png 850w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-6.png 1322w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 5: Edit User Privileges<\/strong><\/p>\n\n\n\n<p>You&#8217;ll see a list of user accounts that have access to your MySQL server. Locate the user account for which you want to change the password and click on the &#8220;Edit privileges&#8221; link next to that account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"398\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-7-1024x398.png\" alt=\"\" class=\"wp-image-1102\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-7-1024x398.png 1024w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-7-300x117.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-7-768x299.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-7-850x331.png 850w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-7.png 1036w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 6: Change Password<\/strong><\/p>\n\n\n\n<p>On the user privileges page, scroll down until you find the &#8220;Change password&#8221; section. Here, you can update the password for the selected user.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enter the new password in the &#8220;Password&#8221; field.<\/li>\n\n\n\n<li>In the drop-down menu next to the password field, select the appropriate option, such as &#8220;Password has been changed.&#8221;<\/li>\n<\/ul>\n\n\n\n<p><strong>Step 7: Save Changes<\/strong><\/p>\n\n\n\n<p>After entering the new password and selecting the appropriate option, click on the &#8220;Go&#8221; button at the bottom of the page. This action will save the changes and set the new password for the user account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"411\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-8.png\" alt=\"\" class=\"wp-image-1103\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-8.png 1024w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-8-300x120.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-8-768x308.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/10\/image-8-850x341.png 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 8: Restart Services<\/strong><\/p>\n\n\n\n<p>Return to the XAMPP control panel and restart the Apache and MySQL services by clicking the &#8220;Start&#8221; button next to each of them. This ensures that your changes take effect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>XAMPP is a popular software package used for web development and testing purposes, which includes Apache, MySQL, PHP, and other tools. If you&#8217;ve been using XAMPP for&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[407,405,408,406],"class_list":["post-1100","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-apache-and-mysql-services","tag-how-to-change-database-password-in-xampp","tag-navigate-to-user-accounts","tag-xampp-control-panel"],"_links":{"self":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/1100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/comments?post=1100"}],"version-history":[{"count":1,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/1100\/revisions"}],"predecessor-version":[{"id":1104,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/1100\/revisions\/1104"}],"wp:attachment":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/media?parent=1100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/categories?post=1100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/tags?post=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}