Mysql: resetting the root password

Hello all!
Going on Day 4 here and definitely at the end of the rope!
When trying to connect to my databases (which 2 months ago
worked fine)
I received the following error by DW "An unidentified error
has
occured". After numerous hours troubleshooting, I have come
to the
conclusion the passwords in Mysql must have got damaged.
--tried to clear the passwords in Mysql by Mysql A.4.1
Reference Manual
instructions of making a new word file with the text:
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('');
and then went to the bin directory of Mysql and typed:
mysqld-nt --init-file=c:\mysql-init.txt (name of file)
Of course Nothing happened concerning the "unidentified
error" after
re-starting Mysql.
Does anyone know another way to reset the passwords?
And do you know why they would become damaged for no reason?
The Mysql,
php, phpMyAdmin, Dw intergration just seems so delicate and
fragile--it
seems some clitch comes along after say 10 hours of work
everytime.
This is not the *first* crash I have had with this set up.
Why would
passwords work one day and not the next--it's not like I'm
racing my
computer on Friday nights!
Many thanks,
Star2

To David Powers:
THANK YOU SO MUCH FOR YOUR HELP. Sorry it took so long for me
to
reply...I started looking at the documentation and lost track
of time
and then had to go to work.
The versions I'm using are: Mysql version is 4.1.1 and PHP is
5.0.
So let me see if I have this straight:
--since I'm using a version of Mysql that is higher than 4.1,
I need to
download the MySQLI extension
Should I upgrade the MySQL to 5.0 first? I was thinking about
upgrading
to DW8. Would it be better to upgrade to MySQL 5.0 with DW8?
I want to just download the MySQLI extension, connections
work again,
and then upgrade to DW8 and then that's it-no problem. That
is probably
wishful thinking!!
Again, thank you so much! This is not the first time you have
talked me
down from the "Day 4 Ledge"...I definitely would have quit
this long ago
with this group's help and your help.
Many thanks,
Star2
P.S. I'll try to post the MySQLI downloading result here if I
can...if I
don't beat my computer to death in a "computer rage" first.
> Star2 wrote:
>
>> I received the following error by DW "An
unidentified error has
>> occured". After numerous hours troubleshooting, I
have come to the
>> conclusion the passwords in Mysql must have got
damaged.
>
>
> The problem is almost certainly to do with the versions
of MySQL and
> PHP. Since MySQL 4.1, you either need to use the MySQLI
extension to
> connect to MySQL, or you need to set the password using
OLD_PASSWORD().
>
>
http://dev.mysql.com/doc/refman/5.0/en/old-client.html
>
>> Does anyone know another way to reset the passwords?
>
>
>
http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
>
>> And do you know why they would become damaged for no
reason? The
>> Mysql, php, phpMyAdmin, Dw intergration just seems
so delicate and
>> fragile--it seems some clitch comes along after say
10 hours of work
>> everytime.
>
>
> I've been running PHP, MySQL and DW daily for several
years now. If
> correctly set up, they work in perfect harmony.
>

Similar Messages

  • How do  you reset the root password in Mountain Lion?

    After install of Mountain Lion on my old iMac, I could not enter administrator, no password would work, Apple support helped me go through terminal to reset root password and root as administrator . I then was able to reset myself as administrator with a new pasword. I used that paassword a few times now it wont accept it again. I dont remember all the steps to reset the root password and recover from this situation.. Can anyone help?  Is this a bug in Mountain Lion?

    I'm having similar issues but other concerns
    1. Can't go into recovery mode since its protected by firmware password, which I don't have. All option keys sequences go into the same firmware padlock, which I don't have the apparent pin.
    2. In terminal mode it didn't happen to recognize that unix command.  Also since I'm just on guest would that reset for the admin or possibly the guest acct?
    3. I've done the DIMM pulls and even though older model, 2011, it didn't appear to a reset for the firmware password.
    Any other options??

  • Reset guest root password

    Hi All,
    I've saved a 2.2.2 guest into a template, imported that into 3.0.2 and created a guest using it. VM starts up fine but can't remember the password for root (this was a once off where we changed the root password so a vendor could access it as root and forgot to change it back).
    So I wanted to boot the guest from a System Rescue CD off the network via ftp after mounting the iso. Well, that didn't work out too well:
    Error: Boot loader didn't return any data!
    Tried changing the path to various folders in the mounted iso to no avail. Tried a Fedora 15 live cd as well but same problem. So I'm thinking unlike the Oracle Linux iso's, other distributions are not so straight forward when trying to boot from them off the network (http/ftp etc).
    Is there a way to boot a PVM guest off the network to iso's other than Oracle Linux? Or perhaps another way to reset the root password for this guest?
    Thanks.

    831583 wrote:
    Is there a way to boot a PVM guest off the network to iso's other than Oracle Linux? Or perhaps another way to reset the root password for this guest?You can't boot any PVM guest from an ISO file. You can however login to Dom0, and boot the guest using xm create -c /path/to/vm.cfg -- this will throw up the GRUB menu so you can add the "single" kernel boot parameter and change the root password in single-user mode.
    Alternatively, you could boot from a Network Location using the kernel and ramdisk options. Just depends on which distribution you're using.

  • Reseting the Hashed Password after enabling Windows File Sharing

    Disclaimer: you'll need a good bit of knowledge about OS X, UNIX, and encryption to understand what I'm talking about.
    All right, so normally OS X hashes user passwords using a salted SHA1 encryption. It uses shadowing so that you can't obtain the actual hash value using "% nidump passwd".
    BUT, if you enable Windows File Sharing, all that changes. OS X re-hashes your password using the much less secure LANMAN encryption. This allows Windows machines to access your files. (LANMAN is what Windows used to encrypt passwords up through Windows ME. Later versions of Windows use NTLM instead, which is stronger.) This is why, the first time you enable Windows File Sharing, OS X warns you that enabling the feature will require your password to be stored in a less secure manner; it's downgrading the hash from SHA1 to LANMAN.
    My question is: I'm done sharing files with idiot Windows users - how do I force OS X to go back to storing my password using SHA1?
    Thanks guys.
    -Bryan

    Thanks biovizier. You're absolutely right, deleting the extra text after ";shadowHash;" and then reseting the password for the user's account does seem to force OS X to rehash the password using SHA1.
    Just in case someone else has this question in the future, here's how to verify that your password is hashed in SHA1:
    Log in as Root and open the /private/var/db/shadow/hash folder. You'll see files with long, weird names. You'll also see an XML file (with the extension *.state) for each of the files with long, weird names. The XML file contains several tags that tell OS X information about the hashed password - things like when it last logged on, when it was created, how many times login failed, etc.
    We're interested in the other files - the ones that don't end in ".state"
    To verify that SHA1 is being used, open the long, weird files in textedit. You should see something like this:
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000059G31HJ75BR54210P07Y57BC57094D643H78K8765L98C6X000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000
    There should be a few more zeros; I've cut some out here to save space.
    What should NOT exist, is the following:
    57Y083D243109VGR45Z4B65812R8M087H65HJ8OK95T89L8JHL9000000000
    000000000000000000000000000000000000000000000000000000000000
    0000000059G31HJ75BR54210P07Y57BC57094D643H78K8765L98C6X00000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000
    The second Hashed value does not start with zeros. This hash value is not SHA1. It is the less secure encryption method required for compatability with Windows.
    If your hash file opens with zeros, you're using SHA1. Otherwise, follow Biovizier's procedure: Open NetInfo, select the user account whose password needs to be changed back to SHA1, look at the "authentication_authority" value, make sure the value is set to ;ShadowHash; and that no additional text follows that string, then reset the affected account's password. You can then log back in as root and re-check the hash files using textedit and you should find that the hash file opens with solid zeros instead of letters and numbers.
    Do NOT manually edit the hash files in textedit. One of those files is the hash for the Root password. If you change that hash file, your root password will no longer work (because when you type MYPASSWORD, OS X will hash that string and find that the hashed value no longer matches the stored hash value in /private/var/db/shadow/hash and OS X will therefore reject your password as incorrect) and you will quickly find yourself locked out of your computer for good.
    And finally, just in case you have the computing power of the NSA and are thinking about running the hashes I've listed here: A) They aren't the right length; I've left some characters out and B) I randomly substituted different alphanumerics in for the ones in my real hashes with no rhyme or reason.
    Which brings me to another point: NEVER post your hashes online. Yes, it takes a TON of computing power to break them, but still, they're hidden away for a reason!
    Anyway, I hope this helps other security buffs out there.
    I'm going to make a suggestion to Apple that OS 10.5 be changed so that when you unclick "windows file sharing" the OS immediately rehashes your password in SHA1 again.
    -Bryan

  • I have an older iMac (OS X 10.4.11), and I forgot my master password.  Is there anything I can do to reset the master password?

    I have an older iMac (OS X 10.4.11), and I forgot my master password.  Is there anything I can do to reset the master password?

    Here's the instructions if you have the discs.
    Mac OS X: Changing or resetting an account password
    http://support.apple.com/kb/HT1274?viewlocale=en_US
    Changing your administrator password
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh655.html
    Here's one method to reset the password without the install disc:
    1. boot computer and hold the "apple" key and the "s" key.
    2. wait for terminal show
    3. release keys
    4. type without the quotes: "/sbin/mount -uaw"
    5. press enter
    6. type without the quotes: "rm /var/db/.applesetupdone
    7. press enter
    8. type without the quotes: "reboot"
    9. press enter
    This will let you create a new admin account when you reboot your computer.
    Also, without the discs, look at Mac OS X Tip - No Password, No Root, No CD? No Problem.
    http://www.macobserver.com/tip/2003/06/16.1.shtml
    Here is a way to get around not knowing the admin password on Macs.
    To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:
       1. Reboot
       2. Hold apple + s down after you hear the chime.
       3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
              * mount -uw /
              * rm /var/db/.AppleSetupDone
              * shutdown -h now
       4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you’re good to go again!
     Cheers, Tom

  • How do I reset the admin password on MacBook Air

    Does anyone know how to reset the admin password on MacBook Air ?

    OS X 10.7 Lion, 10.8 MountainLion & 10.9 Mavericks
    Reset Password starting from Recovery HD
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • TS1424 Tried to use my apple id to update some apps and got"Connection Manager::invoke:: Failed to find service connection url"  After this occured a few times I reset the id password, and this was confirmed by email.  It still fails with same message.  I

    Tried to use my apple id to update some apps and got"Connection Manager::invoke:: Failed to find service connection url"  After this occured a few times I reset the id password, and this was confirmed by email.  It still fails with same message.  Ideas?

    Hi, you have to logout from your iTunes account and reconnect it:
    Settings / iTunes & App Stores / ...
    https://mobilfunkexperten.de/news/13450/sporadische-probleme-im-itunes-und-app-s tore
    Hope this helps... :-)

  • Reset the master password through applescript

    I understand that the correct procedure to reset the master password is to delete these two files from the computer:
    /Library/Keychains/FileVaultMaster.cer
    /Library/Keychains/FileVaultMaster.keychain
    The next step is to go into system preferences and click users and groups. The lock has to be unlocked and then the settings button has to be clicked. The text will now say set master password. I can now enter in information in the new popup screen.
    I would like to automate this process through applescript. I need some help on navigation of the system preferences. I have looked at turn Airport on and off code through applescript and don't quite understand how to click the settings and unlock buttons.
    Here is that code:
    tell application "System Preferences"
      activate
    end tell
    tell application "System Events"
      tell process "System Preferences"
        click menu item "Sharing" of menu "View" of menu bar 1
        delay 2
        tell window "Sharing"
          click checkbox 1 of row 11 of table 1 of scroll area 1 of group 1
          delay 1
          if (exists sheet 1) then
            if (exists button "Turn AirPort On" of sheet 1) then
              click button "Turn AirPort On" of sheet 1
              delay 1
            end if
            click button "Start" of sheet 1
          end if
        end tell
      end tell
    end tell

    Resetting or changing a password:
    For Snow Leopard or earlier:  http://support.apple.com/kb/HT1274
    For Lion or later:  http://support.apple.com/kb/HT6022
    This is also useful:
    http://www.macworld.co.uk/ipad-iphone/news/?newsid=3463233&olo=email
    If it's running Mac OS X 10.6.8 or earlier, insert a Mac OS X install DVD, restart with the Option key held down, click on it, and use the Reset Password utility.
    If it's running Mac OS X 10.7 or newer, restart with the Command and R keys held down, open the Terminal, and use the resetpassword command:
    https://discussions.apple.com/docs/DOC-4101
    If it the Keychain password that needs resetting:
    http://support.apple.com/kb/ts1544

  • TS2220 How do you reset the network password for Airport wireless?

    How do you reset the network password for Airport wireless?

    Use AirPort Utility...select the AirPort Express and in the menu select Base Station...Restore Default Settings...

  • I bought a used Macbook that came with the OS 10.7 upgrade, How can I reset the admin password?

    How can I reset the admin password I don't have the old password. I bought it used and the disk's it came with are OS 10.5 how can i get this password reset without losing any of the upgrades or files?

    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    When the menubar appears select Terminal from the Utilities menu. Enter resetpassword at the prompt and press RETURN. Follow instructions in the dialog window that will appear.
    Or see Reset a Mac OS X 10.7 Lion Password and OS X Lion- Apple ID can be used to reset your user account password.

  • My Macbook is running on OS 10.5.8. However, I forgot my admin password. I would like to find out if I can use OS 10.6 CD to reset the admin password while upgrading OS? Also, will all my files be still present after upgrade??

    My Macbook is running on OS 10.5.8. However, I forgot my admin password. I would like to find out if I can use OS 10.6 CD to reset the admin password while upgrading OS? Also, will all my files be still present after upgrade??

    1. Should be possible to do that; go to the Utilities menu and select 'reset password' before starting the installer. (while booted from the DVD of course)
    2. Standard installation of SL only replaces system components; applications, user data and preference settings should not be affected.
    3. But you do have a backup just in case, don't you?

  • Why can't I reset the master password with the option of removing all username:passwords by unchecking "Use Master Password"?

    Why can't I reset the master password with the option of removing all username:passwords by unchecking "Use Master Password"? Currently, there seems to only be the option to issue a "chrome:" command in URL which DOES reset the master password. However, it was something that I had to google. The intuitive option would be to uncheck the "Use Master Password" checkbox, receive a verification dialogue, and blammo, password reset. Please make this a feature, thank you.

    ''cor-el [[#answer-702776|said]]''
    <blockquote>
    You can remove all password in the Show Passwords dialog.
    That is where you manage the passwords.
    The master password is only for protecting the passwords with an extra level of encryption and has nothing to do with erasing passwords apart from resetting the MP in case you have forgotten the MP and can't open "Show passwords".
    </blockquote>
    Sorry, for being unclear. Essentially this is a feature request for an option under Firefox options (why not?) to reset my Master Password not knowing the Master Password. For Security reasons I understand why all the saved passwords have to be wiped, but wiping the Master Password (having forgotten it) should be an option without having to issue an arcane command that one has to google to figure out.

  • Firefox crashes when I try to reset the master password using chrome://pippki/content/resetpassword.xul

    # Question
    Firefox 3.6.10 on Windows 7 crashes when I try to reset the master password using chrome://pippki/content/resetpassword.xul. Is there an alternate way of resetting the master password?

    You can delete the 2 files that contain password details, they will be re-created automatically. First open the profile folder, for details of how to find it see the [[profiles]] article. Now close Firefox and delete key3.db and signons.sqlite. If there are files called signons.txt, signons2.txt and signons3.txt you can delete those as well, they are from earlier versions of Firefox.

  • HT201240 how do you reset the restriction password on my ipod

    how do reset the restriction password on my ipod

    Hey Wheatstock,
    It sounds like you might be experiencing issues with the passcode on your iPod touch. If that's the case and maybe you've forgotten the passcode or your device is disabled after inputting an incorrect one, take a look at this article:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    If, however, you're talking about Restrictions / Parental Controls, you'd want to take a look here:
    If you lose or forget a restriction passcode, you will need to perform a factory restore to remove it.
    via:
    iOS: Understanding Restrictions (Parental Controls)
    http://support.apple.com/kb/ht4213
    All the best,
    David

  • Resetting the administrative password on an Officejet PRO 8600

    I lost much of the content of a 4 year old Mac when an electric short burned out the insides in a manner that Apple was unable to determine the causes. The end result is that I found that the administrative password for my 8600 died with the old Mac as I was unable to recover the Keychain which had all the password information in it. I wish now that more importance had been stressed in the instructions when passwords were being set-up, about the future need of them in order to utilize so many important features of the printer.I would very much appreciate any guidanc I can get in how to go about resetting the administrative password of my 8600.

    Hi , Welcome to the HP Forums! I see that you are trying to reset the administrative password for your HP Officejet Pro 8600, and I am happy to help! You can do a reset of the printer using the LED screen on the printer. Select Setup, then Tools, then Restore Factory Defaults. "Restore Factory Defaults" is the last item on the list, and then you will have to scroll down to see it.
    This will erase all settings on the printer including the administrator password. Hope this helps!  “Please click the Thumbs up icon below to thank me for responding.”

Maybe you are looking for

  • Problem during implementation of SP5 in PI 7.1 EHP 1

    Hi, we try to implement SP5 in our new installt PI System (7.1 EHP1) with the JSPM. The validation phase aborts and in the  JSPM_MAIN_1_01.LOG there is the following enty: Aug 16, 2010 9:59:28 AM [Error]: Validation finished with error. See log /usr/

  • Accessing a locked folder

    I had to reinstall mac since my hard drive failed and my old files from my old account are still on the computer but i cant access them because they are locked to the old user, is there anyway for me to access them? I have the password and everything

  • Goldengate DDL Capture only for 'ADDING and DELETING' a column

    Hi Source Oracle 11.2 GG Version: 11.2 Target Oracle 11.2 I am configuring the replication between oracle-oracle and regarding DDL replication ,for few tables , in addition to the DML replication , i want to capture only the DDL's related to the stru

  • Billing Plan items invoicing full Net Value

    Milestone Bill Plan with 3 different billing dates and amounts (totalling the full net value) Example info: Sales Order Total Net Value = $100 Bill Plan dates / Amounts 07/11/2007    $20 08/11/2007    $50 09/11/2007    $30 When I run VF04 and look at

  • From where can I download open source "forum" project

    From where can I download open source "forum" project, which have been written useing Java(JSP) , DB(MySQL)