Results 1 to 4 of 4

Thread: How to change the root password in XAMPP?

  1. #1
    Join Date
    Dec 2009
    Posts
    44

    How to change the root password in XAMPP?

    Hi there, I have a problem regarding the use of the XAMPP. I have installed XAMPP in my Windows based computer but the problem is that i don't know that how to change the root password in it. So i am looking for a help form last one week and could not find any help with it. So finally i have4 decided to come here for the help regarding the same. I hope that i will get the solution from here. Any help may be appreciated. Waiting for reply because without the that any one can access my MySQL database. Thank you

  2. #2
    Join Date
    Nov 2005
    Posts
    3,026

    Re: How to change the root password in XAMPP?

    Hey, You can set it during the time of installation but if you have miss that then no issue you can still set the password. Start the XAMPP server and after that open the browser which you are using for the internet connection and type http://localhost/security/ in it. Now you can see the Security page where you can set the root password for the My SQL which will update the phpMyAdmin config too.So go with it.It is really simple way to set the password for the XAMPP. Thank you

  3. #3
    Join Date
    May 2008
    Posts
    2,680

    Re: How to change the root password in XAMPP?

    To make the change in root password for the use the following step which will help you set the same. So go through the step.
    • Open the Appache Server as well as the MySQL
    • Now start the Web Browser and enter the URL i.e. "http://localhost:8090/phpmyadmin/"
    • After that go to the phpMyAdmin window and choose SQL tab from the right panel.
    • You will see a windows open where you can run the SQL queries
    • Now write the "UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root';FLUSH PRIVILEGES; and click on the GO.
    • After that query has been successfully executed.
    • The password is set. If you refresh the browser then it will show you the error because it is not aware of the password set recently.


    Thanks

  4. #4
    Dr. V Guest

    Re: How to change the root password in XAMPP?

    This is the procdure to reset root password in MySQL . So go through this see that it is helpful or not. Say thanks if it works for you regarding the set of your root password.

    • [root@redhat~]#killall mysqld
    • [root@redhat~]#/usr/libexec/mysqld –skip-grant-tables –user=root &
    • [root@redhat~]#mysql
    • use mysql;
    • update user set password=password(“newpassowrd”) where user=”root”;
    • flush privileges;
    • exit;
    • [root@redhat~]#killall mysqld
    • [root@redhat~]#/etc/init.d/mysqld start

Similar Threads

  1. Replies: 3
    Last Post: 19-12-2010, 10:35 AM
  2. Want iphone root password.
    By KALLIYAN in forum Portable Devices
    Replies: 5
    Last Post: 05-01-2010, 05:13 AM
  3. How to change Ubuntu root password?
    By Courtenay in forum Operating Systems
    Replies: 4
    Last Post: 29-12-2009, 05:02 PM
  4. Change default port no for mysql in XAMPP
    By nachiket in forum Software Development
    Replies: 3
    Last Post: 28-12-2009, 03:42 PM
  5. How to change the root password in linux
    By MATSU in forum Software Development
    Replies: 1
    Last Post: 03-12-2008, 01:59 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,461,586.43296 seconds with 17 queries