Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Results 1 to 6 of 6

Thread: lost your mysql root password?

  1. #1
    dman_2007 Guest

    Default lost your mysql root password?

    If you ever forgot the password of the root user of mysql install, then don't worry. You can easily reset it to something else (though you won't be able to revover the old password). Here's how you can do it :

    1) Shut down the mysql server process
    2) Restart the server process with these two additional options : --skip-grant-tables and --skip-networking
    3) first option will bypass the loading of grant tables, hence anyone will be able to access any database without any need to provide any password. Second option, will turn off networking feature. This will ensure that only those who have access to the system will be able connect to the server.
    4) Connect to the server and use UPDATE SQL command to update root password by updating password field in user table in mysql database.
    5) log out of the server and then restart it without those two options and you'll be able to log in as root user by using the new password.

  2. #2
    Resonate's Avatar
    Resonate is offline Internet Marketing Admin
    Join Date
    Sep 2007
    Location
    {{ A Remote Server }}
    Posts
    536

    Default

    Excellent dman, this will be useful for a lot of new sql users, i remember the first time i did this & it was hard to find a simple resource to tell me how to regain access
    BOO!!!!!! IM BACK!!!

    W3Poker Free Online Poker Strategy Blog : Poker Seo : Free Poker Money

  3. #3
    gkd_uk is offline Super Moderator
    Join Date
    Mar 2007
    Location
    UK
    Posts
    2,551

  4. #4
    dman_2007 Guest

    Default

    Thank you for your kind comments and the rep.

  5. #5
    NYK007 is offline Junior Member
    Join Date
    Feb 2009
    Posts
    14

    Default

    Hi friends

    Hello everyone! I am Joseph from London Newly visited this site.
    Thanks for the solution.

    Joseph
    Job Search

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124