Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: fixit on September 12, 2005, 08:13:15 AM
-
I would like to know how to uninstall mysql and then reinstall, is this possible
what is the stop command
how do i find what version is running
Thanx
-
Hi there!
version
# mysql --version
stop service
for v3.23.x
# /etc/init.d/mysqld stop
for v4.x
# /etc/init.d/mysql stop
check which RPMS are installed
for v3.23.x
# rpm -qa|grep mysql-
for v4.x
# rpm -qa|grep MySQL-
-
now just need the uninstall command, not sure what that is yet.
Thanx
-
When you know which RPMS to uninstall
# rpm -e mysql mysql-server mysql-client
-
ergozd
I decided to do a full reinstall of sme and get all the update on and tryed mysql script from your web site, then I went into https:\\192.168.1.1\myphpadmin and got this error msg below.
how do i go about fixing this, i am downloading the mysql files from your web site now 4.1, hopeing to force an upgrade, will that work.
Thanx
MySQL said:
#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
-
You can modify your settings for socket (=mysql.sock) in file /etc/my.cnf
-
Hi again, got these error msg when trying to configur webgui, is this related to mysql.
will this stop webgui from working correctly if i proceed with the installation, i have stopped at this point for now.
I got mysql working again, thanks
where can i get these dependencies from, i have been looking everywhere, lol
thanks again, Regards Russell
[root@fixit Perl_webgui]# rpm -Uvh perl-DBD-MySQL-2.1021-3.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_2.3) is needed by perl-DBD-MySQL-2.1021-3
[root@fixit Perl_webgui]# libc.so.6(
[root@fixit Perl_webgui]# rpm -Uvh perl-SOAP-Lite-0.60-8.noarch.rpm
error: failed dependencies:
/bin/env is needed by perl-SOAP-Lite-0.60-8
-
Try installting perl-DBD-MySQL-2.1017-3.i386.rpm since the later version is compiled for perl 5.8.0 , SME6 has perl 5.6.1
(sorry, looks like my mistake to guide you to wrong version in my HowTO, will fix it at once)
As for perl-SOAP you could simply copy env from /usr/bin to /bin (env is provided by sh-utils) OR install perl-SOAP with --nodeps option