Results 1 to 10 of 17
i need to unistall mysql so i can reinstall it...
- 05-03-2003 #1Linux User
- Join Date
- Apr 2003
- Location
- TEXAS
- Posts
- 314
uninstall mysql
i need to unistall mysql so i can reinstall it
- 05-03-2003 #2Linux 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:
And then remoove the package that come out of the query above.Code:rpm -qa | grep mysql
And then install the package again withCode:rpm -e <packagename>
RegardsCode:rpm -ivh <packagename>
Regards
Andutt
- 05-03-2003 #3Linux 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.
- 06-04-2005 #4Just Joined!
- Join Date
- May 2005
- Posts
- 13
Ok i tried that but i get..
So what am i doing wrong? I need to uninstall my sql, well actually i want to upgrade frin 3.23 to 4.1Code:error: Failed dependencies: libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.9003-5.i386 libmysqlclient.so.10 is needed by (installed) libdbi-dbd-mysql-0.6.5-9.i386 libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-20030510-5.i386 libmysqlclient.so.10 is needed by (installed) MyODBC-2.50.39-19.1.i386 libmysqlclient.so.10 is needed by (installed) php-mysql-4.3.11-2.5.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 mysql = 3.23.58 is needed by (installed) mysql-bench-3.23.58-16.FC3.1.i386 mysql = 3.23.58 is needed by (installed) mysql-devel-3.23.58-16.FC3.1.i386
- 06-19-2005 #5Just 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?
- 06-19-2005 #6Just Joined!
- Join Date
- Dec 2004
- Posts
- 37
i got it to work now
just commanded around...
- 06-20-2005 #7Just 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?
- 06-20-2005 #8Linux 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.
- 06-23-2005 #9Just Joined!
- Join Date
- Dec 2004
- Posts
- 37
yeah i did it as root
- 06-23-2005 #10Just 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..


