Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
i need to unistall mysql so i can reinstall it...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    uninstall mysql


    i need to unistall mysql so i can reinstall it

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Did you install mysql by rpm or by source?? If you you installed it by rpm, you just have to find out what the package were called by:

    Code:
    rpm -qa | grep mysql
    And then remoove the package that come out of the query above.

    Code:
    rpm -e <packagename>
    And then install the package again with

    Code:
    rpm -ivh <packagename>
    Regards

    Regards

    Andutt

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    You are aware that you don't have to give the entire package name to rpm, right? Just "rpm -e mysql-server" will do it. Only if you have to versions installed at the same time, you will have to specify explicitly which one to remove.

  4. #4
    Just Joined!
    Join Date
    May 2005
    Posts
    13
    Ok i tried that but i get..
    Code:
    error&#58; Failed dependencies&#58;
            libmysqlclient.so.10 is needed by &#40;installed&#41; perl-DBD-MySQL-2.9003-5.i386
            libmysqlclient.so.10 is needed by &#40;installed&#41; libdbi-dbd-mysql-0.6.5-9.i386
            libmysqlclient.so.10 is needed by &#40;installed&#41; mod_auth_mysql-20030510-5.i386
            libmysqlclient.so.10 is needed by &#40;installed&#41; MyODBC-2.50.39-19.1.i386
            libmysqlclient.so.10 is needed by &#40;installed&#41; php-mysql-4.3.11-2.5.i386
            libmysqlclient_r.so.10 is needed by &#40;installed&#41; MySQL-python-0.9.2-4.i386
            mysql is needed by &#40;installed&#41; MySQL-python-0.9.2-4.i386
            mysql = 3.23.58 is needed by &#40;installed&#41; mysql-bench-3.23.58-16.FC3.1.i386
            mysql = 3.23.58 is needed by &#40;installed&#41; mysql-devel-3.23.58-16.FC3.1.i386
    So what am i doing wrong? I need to uninstall my sql, well actually i want to upgrade frin 3.23 to 4.1

  5. #5
    Just Joined!
    Join Date
    Dec 2004
    Posts
    37
    ey branden i get the same problem:




    rpm -e mysql-3.23.58-16.FC3.1
    error: Failed dependencies:
    libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.9003-5.i386
    libmysqlclient.so.10 is needed by (installed) dovecot-0.99.13-3.FC3.i386
    libmysqlclient.so.10 is needed by (installed) MyODBC-2.50.39-19.1.i386
    libmysqlclient_r.so.10 is needed by (installed) MySQL-python-0.9.2-4.i386
    mysql is needed by (installed) MySQL-python-0.9.2-4.i386


    Why this and what to do?

  6. #6
    Just Joined!
    Join Date
    Dec 2004
    Posts
    37
    i got it to work now just commanded around...

  7. #7
    Just Joined!
    Join Date
    Dec 2004
    Posts
    37
    I get some problems when im trying to install MySQL now. WIth this command:
    rpm -i MySQL-server-4.1.12-1.i386.rpm MySQL-clien t-4.1.12-1.i386.rpm

    The i get this bunch:

    warning: MySQL-server-4.1.12-1.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f 5
    050620 7:47:26 [Warning] Asked for 196608 thread stack, but got 126976
    050620 7:47:26 [Warning] Can't create test file /var/lib/mysql/host-81-191-86-1.lower-test
    ERROR: 1 Can't create/write to file './mysql/db.frm' (Errcode: 13)
    ERROR: 1146 Table 'mysql.db' doesn't exist
    ERROR: 1146 Table 'mysql.db' doesn't exist
    ERROR: 1 Can't create/write to file './mysql/host.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/user.frm' (Errcode: 13)
    ERROR: 1146 Table 'mysql.user' doesn't exist
    ERROR: 1146 Table 'mysql.user' doesn't exist
    ERROR: 1146 Table 'mysql.user' doesn't exist
    ERROR: 1146 Table 'mysql.user' doesn't exist
    ERROR: 1 Can't create/write to file './mysql/func.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/tables_priv.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/columns_priv.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/help_topic.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/help_category.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/help_relation.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/help_keyword.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/time_zone_name.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/time_zone.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/time_zone_transition.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/time_zone_transition_type.frm' (Errcode: 13)
    ERROR: 1 Can't create/write to file './mysql/time_zone_leap_second.frm' (Errcode: 13)
    050620 7:47:26 [Warning] Asked for 196608 thread stack, but got 126976
    050620 7:47:26 [Warning] Can't create test file /var/lib/mysql/host-81-191-86-1.lower-test
    ERROR: 1146 Table 'mysql.help_topic' doesn't exist
    ERROR: 1146 Table 'mysql.help_category' doesn't exist
    ERROR: 1146 Table 'mysql.help_keyword' doesn't exist
    ERROR: 1146 Table 'mysql.help_relation' doesn't exist
    ERROR: 1146 Table 'mysql.help_category' doesn't exist
    ERROR: 1146 Table 'mysql.help_topic' doesn't exist
    ERROR: 1146 Table 'mysql.help_keyword' doesn't exist
    ERROR: 1146 Table 'mysql.help_keyword' doesn't exist
    ERROR: 1146 Table 'mysql.help_relation' doesn't exist
    PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    To do so, start the server, then issue the following commands:
    /usr/bin/mysqladmin -u root password 'new-password'
    /usr/bin/mysqladmin -u root -h host-81-191-86-1.bluecom.no password 'new-password'
    See the manual for more instructions.

    Please report any problems with the /usr/bin/mysqlbug script!

    The latest information about MySQL is available on the web at
    http://www.mysql.com
    Support MySQL by buying support/licenses at https://order.mysql.com
    Starting MySQL...................................[FAILED]



    Whats going on here?

  8. #8
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136
    Did you run that command as root? Those kind of errors are due to you not being able to write to what are normally classified as system folders.
    The biggest security threat is the user.

  9. #9
    Just Joined!
    Join Date
    Dec 2004
    Posts
    37
    yeah i did it as root

  10. #10
    Just Joined!
    Join Date
    Dec 2004
    Posts
    37
    What about the doesn't exist errors? I have logedin with admin account and password.
    su
    password
    ---------------------
    Damn i get frustrted i realy need a Database to my webpage..

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •