How to complete uninstallation of My SQL before a fresh install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lassebytes
    New Member
    • Apr 2010
    • 3

    How to complete uninstallation of My SQL before a fresh install

    I want to do a fresh installation of MySQL. An old installation make it’s impossible. The problem is that the new installation asks for the current password witch I don’t know before I can set a new root password. How to do?
  • chathura86
    New Member
    • May 2007
    • 227

    #2
    uninstalll and delete the mysql folder also

    regards

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Hey.

      We need more details on your server.
      What OS are you using?
      Which version of MySQL?
      What type of installation is it? (From source, M$ installer, Linux distro-package, etc..)

      If you are using Windows, the chathura is right. You just need to completely remove the folders created by the old installation.

      Comment

      • sridhard2406
        New Member
        • Dec 2007
        • 52

        #4
        If its linux try with package name with rpm command, it will completely uninstall the mysql related installation,

        Regards,
        Sridhar.D

        Comment

        • lassebytes
          New Member
          • Apr 2010
          • 3

          #5
          Originally posted by Atli
          Hey.

          We need more details on your server.
          What OS are you using?
          Which version of MySQL?
          What type of installation is it? (From source, M$ installer, Linux distro-package, etc..)

          If you are using Windows, the chathura is right. You just need to completely remove the folders created by the old installation.
          The installation is on a Windows computer, the chathura86 way should work but doesn’t. All the old folders have been removed after the un-installation. Still the new installation of MySQL 5.1.45 ask for the current password as if an old installation is present. Could it be something in the registry? I think the old MySQL installation was 5.1.32.

          Comment

          • Atli
            Recognized Expert Expert
            • Nov 2006
            • 5062

            #6
            I doubt MySQL would use the registry for that. It's storage should be more portable than that. (It's the same across all platforms.)

            If this is a Vista or Win7 setup, try checking the "C:\ProgramData \" directory. If I remember correctly, this is where MySQL 5.1 stores it's data files.
            Also check the users "AppData" directories. There may be some configuration files stored there.

            Comment

            • lassebytes
              New Member
              • Apr 2010
              • 3

              #7
              Thanks!
              Yes I found the files under "C:\Documen ts and Settings\All Users\Applicati on Data\"

              Comment

              Working...