Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: !! Need help resetting MySQL Root Password.

  1. #11
    Join Date
    Oct 2010
    Location
    Internet Cafe
    Beans
    136
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question Re: !! Need help resetting MySQL Root Password.

    I used the following command to view my database.
    sudo cp -pr /var/lib/mysql ~/mysql.org
    I received an error.

    sudo cp -pr /var/lib/mysql ~/mysql.org

    So then I tried to copy my database using the following command.

    sudo cp -pr /var/lib/mysql ~/mysql.org
    I took a look at the home directory to see if I could find a backup.sql but I did not find anything. What does it look like? How do I know I created a backup successfully?

  2. #12
    Join Date
    Oct 2010
    Location
    Internet Cafe
    Beans
    136
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: !! Need help resetting MySQL Root Password.

    Thanks everyone for your help. i was able to recover MySQL. I still need to look into fixing the VAR chown issue but at least my website is up again.

    Spindler

  3. #13
    Join Date
    Mar 2009
    Location
    south of heaven
    Beans
    305
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: !! Need help resetting MySQL Root Password.

    just incase anyone else has this problem in the future

    http://dev.mysql.com/doc/refman/4.1/...rmissions.html

Page 2 of 2 FirstFirst 12

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
  •