Hi Guys,
I managed to switch on the mysqld using chkconfig from my other server.
I also manged to remove mysql completely but it's still giving me a headich cause not it does not wan't to install.I have pasted a long screen shot of how I'm intalling it including the package that I install for mysql these same packages are installed on the other server and are working 100% please have a look below I know it's a long post probable you will pickup what I'm doing wrong.
Please assist
klmdisp:mms$ ssh klmback
klmback:mms$ su
Password:
klmback:mms# ls
analysis common.tgz Install MySQL-client-4.0.21-0.i386.rpm script.txt
avail.frm cppoptions j2re-1_4_2_09-linux-i586.bin mysql-server-3.23.58-1.72.i386.rpm speed.txt
backup_ddbs CVS jdk1.3.1_09 MySQL-server-4.0.21-0.i386.rpm themaster.frm
--C DBParameters.props jdk1.3.1_09.tgz nohup.out usersetup
chkfontpath-1.9.10-1.RHEL.i386.rpm delete load_codes.dont_use out.dat?
client_dbini.bak dspbackup.log menus.ba out.txt?
client.script dsp_print.dat mmsv22.tgz pitdat.04
codes hubsetup mysql-client-3.23.58-1.i386.rpm reasnmod.bak
klmback:mms# rpm -ivh --nodeps mysql-server-3.23.58-1.72.i386.rpm
warning: mysql-server-3.23.58-1.72.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:mysql-server ########################################### [100%]
klmback:mms# rpm -ivh --nodeps mysql-client-3.23.58-1.i386.rpm
warning: mysql-client-3.23.58-1.i386.rpm: V3 DSA signature: NOKEY, key ID e01260f1
Preparing... ########################################### [100%]
file /usr/bin/mysqladmin from install of mysql-client-3.23.58-1 conflicts with file from package mysql-server-3.23.58-1.72
klmback:mms#
klmback:mms#
klmback:mms# /etc/init.d/mysqld start
Starting MySQL: [ OK ]
klmback:mms# ps -ef | grep mysqld
root 17752 17637 0 16:01 pts/1 00:00:00 grep mysqld
klmback:mms#
klmback:log# cd /var/lib/mysql/
klmback:mysql# ls
ibdata1 ib_logfile0 ib_logfile1 klmback.err klmbackup.localdomain.err mysql prism test
klmback:mysql# cd /var/lib/
klmback:lib# /etc/init.d/mysqld stop
Stopping MySQL: [FAILED]
klmback:lib# rpm -e `rpm -qa | grep -i mysql`
klmback:lib# rpm -qa | grep -i mysqlrpm -qa | grep -i mysqlrpm -qa | grep -i mysql
klmback:lib# rpm -qa | grep -i mysql
klmback:lib# rm -R mysql/
rm: descend into directory `mysql/'? y
rm: descend into directory `mysql//mysql'? y
rm: remove regular file `mysql//mysql/db.frm'? y
rm: remove regular file `mysql//mysql/db.MYI'? y
rm: remove regular file `mysql//mysql/db.MYD'? y
rm: remove regular file `mysql//mysql/host.frm'? y
rm: remove regular file `mysql//mysql/host.MYI'? y
rm: remove regular empty file `mysql//mysql/host.MYD'? y
rm: remove regular file `mysql//mysql/user.frm'? y
rm: remove regular file `mysql//mysql/user.MYI'? y
rm: remove regular file `mysql//mysql/user.MYD'? y
rm: remove regular file `mysql//mysql/func.frm'? y
rm: remove regular file `mysql//mysql/func.MYI'? y
rm: remove regular empty file `mysql//mysql/func.MYD'? y
rm: remove regular file `mysql//mysql/tables_priv.frm'? y
rm: remove regular file `mysql//mysql/tables_priv.MYI'? y
rm: remove regular empty file `mysql//mysql/tables_priv.MYD'? y
rm: remove regular file `mysql//mysql/columns_priv.frm'? y
yrm: remove regular file `mysql//mysql/columns_priv.MYI'?
yrm: remove regular empty file `mysql//mysql/columns_priv.MYD'?
yrm: remove regular file `mysql//mysql/help_topic.frm'?
y
rm: remove regular file `mysql//mysql/help_topic.MYI'? rm: remove regular file `mysql//mysql/help_topic.MYD'? y
yrm: remove regular file `mysql//mysql/help_category.frm'?
yrm: remove regular file `mysql//mysql/help_category.MYI'?
y
rm: remove regular file `mysql//mysql/help_category.MYD'? rm: remove regular file `mysql//mysql/help_relation.frm'? y
rm: remove regular file `mysql//mysql/help_relation.MYI'? y
yrm: remove regular file `mysql//mysql/help_relation.MYD'?
y
rm: remove regular file `mysql//mysql/help_keyword.frm'? rm: remove regular file `mysql//mysql/help_keyword.MYI'? y
yrm: remove regular file `mysql//mysql/help_keyword.MYD'?
y
rm: remove regular file `mysql//mysql/time_zone_name.frm'? rm: remove regular file `mysql//mysql/time_zone_name.MYI'? y
yrm: remove regular empty file `mysql//mysql/time_zone_name.MYD'?
y
rm: remove regular file `mysql//mysql/time_zone.frm'? rm: remove regular file `mysql//mysql/time_zone.MYI'? y
y
rm: remove regular empty file `mysql//mysql/time_zone.MYD'? rm: remove regular file `mysql//mysql/time_zone_transition.frm'? y
yrm: remove regular file `mysql//mysql/time_zone_transition.MYI'?
y
rm: remove regular empty file `mysql//mysql/time_zone_transition.MYD'? rm: remove regular file `mysql//mysql/time_zone_transition_type.frm'? y
yrm: remove regular file `mysql//mysql/time_zone_transition_type.MYI'?
y
rm: remove regular empty file `mysql//mysql/time_zone_transition_type.MYD'? rm: remove regular file `mysql//mysql/time_zone_leap_second.frm'? y
y
rm: remove regular file `mysql//mysql/time_zone_leap_second.MYI'? rm: remove regular empty file `mysql//mysql/time_zone_leap_second.MYD'? y
yrm: remove directory `mysql//mysql'?
y
rm: remove directory `mysql//test'? rm: remove regular file `mysql//klmbackup.localdomain.err'? y
yrm: remove regular file `mysql//klmback.err'?
y
rm: remove regular file `mysql//ibdata1'? y
y
rm: remove regular file `mysql//ib_logfile0'? rm: remove regular file `mysql//ib_logfile1'? rm: descend into directory `mysql//prism'? y
yrm: remove regular file `mysql//prism/db.opt'?
y
rm: remove regular file `mysql//prism/RPCSPL.frm'? rm: remove regular file `mysql//prism/RPCSPL.MYI'? y
yrm: remove regular empty file `mysql//prism/RPCSPL.MYD'?
y
yrm: remove regular file `mysql//prism/ALARMLOG.frm'? rm: remove regular file `mysql//prism/ALARMLOG.MYI'?
y
rm: remove regular empty file `mysql//prism/ALARMLOG.MYD'? rm: remove regular file `mysql//prism/ALARMS.frm'? y
yrm: remove regular file `mysql//prism/ALARMS.MYI'?
y
rm: remove regular file `mysql//prism/ALARMS.MYD'? rm: remove regular file `mysql//prism/NETSTATS.frm'? y
yrm: remove regular file `mysql//prism/NETSTATS.MYI'?
y
rm: remove regular empty file `mysql//prism/NETSTATS.MYD'? rm: remove regular file `mysql//prism/COMMSTATS.MYI'? y
yrm: remove regular file `mysql//prism/NODES.frm'?
y
rm: remove regular file `mysql//prism/NODES.MYI'? rm: remove regular empty file `mysql//prism/NODES.MYD'? y
yrm: remove regular empty file `mysql//prism/COMMSTATS.MYD'?
y
yrm: remove regular file `mysql//prism/COMMSTATS.frm'? rm: remove regular file `mysql//prism/NODE_HISTORY.frm'? y
yrm: remove regular file `mysql//prism/NODE_HISTORY.MYI'?
y
yrm: remove regular empty file `mysql//prism/NODE_HISTORY.MYD'? rm: remove directory `mysql//prism'? y
alternatives dhcp logrotate.status misc ntp random-seed scrollkeeper squirrelmail up2date xkb
dav games menu nfs pcmcia rpm slocate supportinfo xdm
klmback:mms# rpm -ivh --nodeps mysql-client-3.23.58-1.i386.rpm
warning: mysql-client-3.23.58-1.i386.rpm: V3 DSA signature: NOKEY, key ID e01260f1
Preparing... ########################################### [100%]
1:mysql-client ########################################### [100%]
klmback:mms# rpm -ivh --nodeps mysql-server-3.23.58-1.72.i386.rpm
warning: mysql-server-3.23.58-1.72.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
file /usr/bin/mysqladmin from install of mysql-server-3.23.58-1.72 conflicts with file from package mysql-client-3.23.58-1
klmback:mms#
Thanks a lot
Collen