[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stellation-res] Stellation support for MySQL on Linux
|
On Thu, Oct 31, 2002 at 01:21:34PM -0500, Jonathan Gossage wrote:
> I'll send the details when I get home tonight. I believe the details are
> different though for Windows and for Linux. If you can hold off a few days,
> I have just bought myself a Linux box which I was planning to setup this
> weekend. As part of the setup I can install MySQL and write a procedure for
> you.
Re Linux, you want to download and install the files
MySQL-4.0.4-0.i386.rpm
MySQL-client-4.0.4-0.i386.rpm
MySQL-shared-4.0.4-0.i386.rpm
You install them using the 'rpm' (RedHat Package Manager) program. rpm has
a large and non-obvious set of options. Try (whilst logged in as root)
rpm -Uv MySQL*.rpm
When I did this on a stock RH 7.3 system, rpm failed with messages about
breaking dependencies. I think you should be able to overcome this with
rpm --force -Uv MySQL*.rpm
What I actually did was to remove the offending packages (they are not required
for normal operation) by hand (having forgotten about --force).
For example if complaint was about xxxx, I did
rpm -e xxx
and tried 'rpm -Uv MySQL*' until it worked.
Other useful rpm options
rpm -qa
lists all the installed packages, for example
rpm -qa | grep MySQL
and
rpm -q -filesbypkg MySQL
lists all the files provided by MySQL
and
rpm -q -f file
lists the package that provides file, for example
rpm -q -f /usr/bin/mysql
gives
MySQL-client-4.0.4-0
It would be helpful if you could first try
rpm --force Uv MySQL*.rpm
If this fails and you have to manually remove the others
please note their names, so I can add them to install documentation.
I managed to get Ant and IBM's Java 1.3 JDK installed on my Win 2000
system last night. What I thought would take a few minutes took
a few hours, reminding me once again how annoying it is to work with
this system. I'll try to install MySQL over the weekend.
dave
--
Dave Shields, IBM Research, shields@xxxxxxxxxxxxxx.