Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    26

    Default "Reset Local MySQL Root Password" does not work.

    I did a search and got this http://forums.cpanel.net/showthread.php?t=23696 But it doesn't answer my problem so I will post a new thread.

    Now for my problem.

    Hi, I am having this same problem. When I click Add Db button it says it did, but when it returns back the page it shows no created database.

    1. MySQL is running. Forums and my gameserver plugins are working.
    2. I can not Reset Local MySQL Root Password. It says it did it but I can not access mysql via shell or phpmyadmin.

    So I did a make deinstall for mysql 4.0.13 and installed 4.0.21 and I still get the same problem.

    Any ideas on how I can reset the mysql password so it works?

  2. #2
    Member
    Join Date
    Nov 2003
    Posts
    26

    Default

    ^ bumpage ^

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    26

    Default

    ^ more bumpage ^

  4. #4
    paolorulez
    Guest

    Default

    try


    pico /root/.my.cnf

    set user and your pass without ""

    after
    mysql> FLUSH PRIVILEGES;
    restart mysql


    another method

    shell> mysql -u root



    mysql> UPDATE mysql.user SET Password=PASSWORD(newpwd)
    -> WHERE User=root;
    mysql> FLUSH PRIVILEGES;
    restart mysql

  5. #5
    Member
    Join Date
    Nov 2003
    Posts
    26

    Default

    yay it worked.! many thanks! removing the quotes did it! thanks again ^_^

Similar Threads & Tags
Similar threads

  1. Add "delete list" button in WHM on "Reset a Mailman Password" page
    By cPanelMary in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 01-08-2011, 12:19 AM
  2. Replies: 3
    Last Post: 01-26-2009, 11:48 AM
  3. commandline like "Reset Local MySQL Root Password" in whm
    By gundamz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-28-2008, 10:29 PM
  4. Replies: 5
    Last Post: 03-12-2007, 03:40 PM
  5. command to Reset Local MySQL Root Password?
    By gundamz in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-14-2004, 11:23 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube