Women in Technology

Hear us Roar



Subject:   Is it possible to uninstall source version?
Date:   2002-11-24 03:24:10
From:   anonymous2
Response to: Is it possible to uninstall source version?

I am running into the same problem that I deleted the root user by mistake. Can you share the procedure to fix this problem?
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • 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.