How to reset Password for 'root' account in phpmyadmin - running on a VM

Phillip Hamilton 0 Reputation points
2024-02-10T04:09:51.66+00:00

I am running a VM and it is running mysql Address: 23.101.232.74
Name of the VM: vm-kmdesktop-db I have forgotten the root password and need to reset it Phillip Hamilton Kindy Manager

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
986 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,801 Reputation points Microsoft Employee Moderator
    2024-02-10T09:33:52.36+00:00

    Hello, @Phillip Hamilton !

    How do I reset the password of my VM?

    If you have forgotten the password on your VM, resetting it is a straightforward process. Below are instructions using the Azure portal:

    Reset Remote Desktop Services or its administrator password in a Windows VM

    First, sign in to the Azure portal and then select Virtual machines on the left menu. Reset the local administrator account password

    1. Select your Windows VM and then select Reset password under Help. The Reset password window is displayed.
    2. Select Reset password, enter a username and a password, and then select Update.
    3. Try connecting to your VM again.

    Reset the Remote Desktop Services configuration

    This process will enable Remote Desktop service in the VM, and create a firewall rule for the default RDP port 3389.

    1. Select your Windows VM and then select Reset password under Help. The Reset password window is displayed.
    2. Select Reset configuration only and then select Update.
    3. Try connecting to your VM again.

    User's image


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A! User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.