Women in Technology

Hear us Roar



Article:
  Apache Web-Serving With Mac OS X, Part 5
Subject:   uninstall mysql?
Date:   2002-04-08 21:23:05
From:   vaie
Response to: uninstall mysql?

No worries, I got it fixed! I forgot to mention in the original post that I had thought I uninstalled the binary version, and then had installed the source version, which just really messed things up.


After some down and dirty wrestling with things I have it working again.


And I have written down my password. *bows*


Thank you.

Full Threads Oldest First

Showing messages 1 through 4 of 4.

  • Is it possible to uninstall source version?
    2002-06-06 15:40:33  rdez378 [View]

    This series was great. I did every step without any major problems. I was even successfully running Phpmyadmin until I deleted the root user by mistake. Now it says no users within phpmyadmn (already contacted them) and when I access mysql using the root password I am still able to login with no problem. However, when I try to administer to the databases or add new users i get the 1044/1045 errors. I've tried some of the fixes listed on mysql.com but with all of them I eventually get an access denied. What should I do?

    I think my best bet is to uninstall mysql but i did it using the source version so i don't know of any script.

    Would reinstalling apache work if worst came to worst?

    I'm at my wit's end here. I'm usually able to find answers using forums like these or just following manual instructions but I don't think too many people would do something as stupid so that's why no info on it.

    Anyone with any ideas let me know asap before i do something else more damaging to my system!

    I'm operating Mac 10.1.4, Apache 1.3.22, and mysql 3.23.29 on the localhost.

    Thanks!
    • Is it possible to uninstall source version?
      2002-11-24 03:24:10  anonymous2 [View]

      I am running into the same problem that I deleted the root user by mistake. Can you share the procedure to fix this problem?
      • Is it possible to uninstall source version?
        2004-01-07 21:33:02  rocketmac [View]

        you can unistall mysql installed from a source distrobution by going to that extracted installion directory (the directory you used to build/install mysql) and type in the following.

        shell> make -n uninstall
        then type
        shell> make distclean

        Following this, go delete the directory that it was installed to (i.e. /usr/local/mysql )


        Now you can reinstall MySQL by the following

        shell> ./configure --prefix=/usr/local/mysql
        shell> make
        shell> make install
        shell> cp support-files/my-medium.cnf /etc/my.cnf
        shell> cd /usr/local/mysql
        shell> bin/mysql_install_db
        shell> chown -R root .
        shell> chown -R mysql var
        shell> chgrp -R mysql .
        shell> bin/mysqld_safe --user=mysql &

        I hope this helps.
      • Is it possible to uninstall source version?
        2004-01-07 21:31:35  anonymous2 [View]

        you can unistall mysql installed from a source distrobution by going to that extracted installion directory (the directory you used to build/install mysql) and type in the following.

        shell> make -n uninstall
        then type
        shell> make distclean

        Following this, go delete the directory that it was installed to (i.e. /usr/local/mysql )


        Now you can reinstall MySQL by the following

        shell> ./configure --prefix=/usr/local/mysql
        shell> make
        shell> make install
        shell> cp support-files/my-medium.cnf /etc/my.cnf
        shell> cd /usr/local/mysql
        shell> bin/mysql_install_db
        shell> chown -R root .
        shell> chown -R mysql var
        shell> chgrp -R mysql .
        shell> bin/mysqld_safe --user=mysql &

        I hope this helps.