Hi,
thanx for looking into this issue
OS version: Red Hat Enterprise Linux AS release 3 (Taroon Update 3)
mysql : mysql-3.23.58-pc-linux-i686.tar.gz
I need to write an uninstall script for this,since it is to be done on many
systems.
and then install mysql 5 binary.
Thanks,
[EMAIL
It would be helful if you could tell us what OS you are
using please? Your email address suggests you could be
running some flavour of Linux?
If so, can you tell us what package management system your
OS uses?
I run SuSE Linux 9.2 pro, which uses the Redhat Package
Management system - RPM.
Do
*/
> if (mysql_stmt_store_result(stmt))
> {
>printf(" mysql_stmt_store_result() failed\n");
>printf(" %s\n", mysql_stmt_error(stmt));
>exit(0);
> }
>
> while (!mysql_stmt_fetch(stmt))
> {
>
>if (is_null[0])
>
tmt));
>exit(0);
> }
>
> while (!mysql_stmt_fetch(stmt))
> {
>
>if (is_null[0])
> printf(" NULL\n");
>else
> printf(" %s(%ld)\n", str, length[0]);
>
> }
>
> printf("The no of rows affected
t_affected_rows(stmt));
if (mysql_stmt_close(stmt))
{
printf("Error while closing mysql statement\n");
exit(3);
}
mysql_close(&mysql);
return 0;
}
Thank you
sujay
-Original Message-
From: Gleb Paharenko [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 11, 200
Hello.
I guess you have rpm installation, rpm -e should help you in this case.
Find installed mysql packets with `rpm -qa |grep -i mysql` command.
If you have troubles with making a choice, send the list of packets
which you got to the list.
Sujay Koduri <[EMAIL PROTECTED]> wrote:
>
>
Sorry , I didn't send this in person to you intentionally.
sujay
-Original Message-
From: Martijn Tonies [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 11, 2005 2:42 PM
To: Sujay Koduri
Subject: Re: Uninstalling the MySQL cleanly.
.
>
> OS is RH9 and kernel is 2.4.20
I
> Can any one list the steps or give me any pointers how to cleanly
uninstall
> an upper version of MySQL,
> so that after wards if we install lower version it should not be affected
by
> any left overs of the previous installation.
What OS?
With regards,
Martijn Tonies
Database Workbench - too
[EMAIL PROTECTED] wrote:
> Greetings... How do I uninstall MySQL under linux (i have Fedora Core 2)... i will
> be installing a new version of it...
> I have 3.23 currently and will replace it with 4. Please Help Thanks
Try like that
rpm -qa | grep -i mysql
This will give you the list of ever
On Friday 06 August 2004 19:49, [EMAIL PROTECTED] wrote:
> Greetings... How do I uninstall MySQL under linux (i have Fedora Core 2)...
> i will be installing a new version of it...
>
> I have 3.23 currently and will replace it with 4. Please Help Thanks
I just did this a couple of weeks ago myself
--- Begin Message ---
The current version was installed when I installed FEDORA 2 on my PC... I do not know
what the RPMs are
- Original Message -
From: Michael Weiner <[EMAIL PROTECTED]>
Date: Friday, August 6, 2004 8:53 pm
Subject: Re: Uninstalling MySQL
> On Fri, 2004-08
On Fri, 2004-08-06 at 20:49 -0400, [EMAIL PROTECTED] wrote:
> Greetings... How do I uninstall MySQL under linux (i have Fedora Core 2)... i will
> be installing a new version of it...
>
> I have 3.23 currently and will replace it with 4. Please Help Thanks
You dont necessarily have to uninstall
It all depends on how you installed it.
If it is an rpm, use rpm -e to un-install it.
If from a tarfile, find out where the files were written, and remove them.
[EMAIL PROTECTED] wrote:
Hi, I´ve just installed MySQL and I wanna know how to uninstall it.
I tried to look for uninstall in the manual
Hi.
On Wed 2002-11-27 at 12:30:05 -0800, [EMAIL PROTECTED] wrote:
> Hi,
> I am using Slackware distribution of Linux. Someone
> has already installed MySQL binary as well as source
> distribution. I would like to un-install that and
> reinstall. But I already have the webserver running
> where MyS
On Mon, 3 Jun 2002, Mysql Help Service wrote:
> I have built a MySQL binary from source and have installed it with no
> problem. However, when I go to make uninstall, make bombs on me. Any
> recommended way for uninstalling a MySQL distro?
su -c 'make uninstall'
Thomas
---
Gilbert,
You wrote:
> 7) More problems, use 'locate' to delete all (I thought) mysql files;
don't
> think I really did delete all of them though.
...
> I was thinking of updating the 'locate' database, and then searching for
all
> files that have 'mysql' in them, again. Is this the best way to
Your binary distrubution downloaded from mysql.org installs in
/usr/local/mysql
If you remove everything from that directory, you can just install the
binary distribution again into that directory.
Don't forget to run the mysql_install_db script after installation so to
set up your initia
Hi Sandeep,
I assume you are installing your MySQL in Linux environment. So be cautious
on case sensativity. Remember to type 'MySQL' and not 'mysql'.
First, run command :
[admin]# rpm -qa | grep MySQL
MySQL-client-3.23.38-1
MySQL-3.23.38-1
This will show all the related packaged in your box.
that worked, thx
I also installed PHP4, should I uninstall that? I installed it as a tar. and
if so how do I do it?
Dave
-Original Message-
From: Steve Ruby [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 08, 2001 7:46 PM
To: David Loszewski
Subject: Re: uninstalling MySQL
If rpm
Probably should change that first line to
rpm -qa | grep -i mysql
Roel Vanhout wrote:
>
> rpm -qa | grep mysql
>
> if nothing found,
>
> rm -rf /usr/local/var
> rm -rf `find /usr/local/bin/ | grep mysql`
> rm -rf /etc/my.cnf
>
> This should catch about everything.
>
> cheers,
>
> roel
>
>
rpm -qa | grep mysql
if nothing found,
rm -rf /usr/local/var
rm -rf `find /usr/local/bin/ | grep mysql`
rm -rf /etc/my.cnf
This should catch about everything.
cheers,
roel
On Sun, Apr 08, 2001 at 12:24:08AM -0400, David Loszewski wrote:
> how do I uninstall MySQL 3.22 after installing it? wo
gt; From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Gerald L. Clark
> Sent: Thursday, January 25, 2001 7:46 PM
> To: lkeeton
> Cc: [EMAIL PROTECTED]
> Subject: Re: Uninstalling and Troubleshooting RPM
>
>
> lkeeton wrote:
> >
> > I am very frust
lkeeton wrote:
>
> I am very frusturated as of right now. I have a mysql database that doesn't
> work on Cobalt Raq3. I installed the RPM version and guess what the mysql.sock
> file isn't there and ther server gives me this error when starting:
>
> Starting mysqld daemon with databases from /va
Sir,
What OS are you running?
What version of MySQL are you trying to install?
What RPMs are you trying to install?
- Scott
> -Original Message-
> From: lkeeton [mailto:[EMAIL PROTECTED]]
> Sent: January 25, 2001 10:56 AM
> To: [EMAIL PROTECTED]
> Subject: Uninstalling and Troubleshoo
24 matches
Mail list logo