MySql installation for linux

Programming, for all ages and all languages.
rich_m
Member
Member
Posts: 33
Joined: Sat Nov 25, 2006 10:05 am

Re:

Post by rich_m »

RPM is funny, or am I?

Code: Select all

[root@trisvr3 Downloads]# rpm -e MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
error: package MySQL-server-community-5.0.51a-0.rhel4.i386.rpm is not installed[root@trisvr3 Downloads]# rpm -ivh MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
warning: MySQL-server-community-5.0.51a-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
        package MySQL-server-community-5.0.51a-0.rhel4 is already installed[root@trisvr3 Downloads]#
imagination is once limit......
xyzzy
Member
Member
Posts: 391
Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:

Post by xyzzy »

Just pass -f to it

Code: Select all

rpm -ivhf MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re:

Post by JamesM »

rich_m wrote:RPM is funny, or am I?

Code: Select all

[root@trisvr3 Downloads]# rpm -e MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
error: package MySQL-server-community-5.0.51a-0.rhel4.i386.rpm is not installed[root@trisvr3 Downloads]# rpm -ivh MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
warning: MySQL-server-community-5.0.51a-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
        package MySQL-server-community-5.0.51a-0.rhel4 is already installed[root@trisvr3 Downloads]#
No, you're right, RPM is a pile of balls.
rich_m
Member
Member
Posts: 33
Joined: Sat Nov 25, 2006 10:05 am

Post by rich_m »

AlexExtreme wrote:Just pass -f to it

Code: Select all

rpm -ivhf MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
Nope

Code: Select all

[root@trisvr3 Downloads]# rpm -ivhf MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
warning: MySQL-server-community-5.0.51a-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
        package MySQL-server-community-5.0.51a-0.rhel4 is already installed
[root@trisvr3 Downloads]#
imagination is once limit......
rich_m
Member
Member
Posts: 33
Joined: Sat Nov 25, 2006 10:05 am

Post by rich_m »

is'nt there any alternative to RPMs???????//
imagination is once limit......
xyzzy
Member
Member
Posts: 391
Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:

Post by xyzzy »

Try rpm -Uvh MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

rich_m wrote:is'nt there any alternative to RPMs???????//
get a modern distribution.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Post by JackScott »

Seconded. For servers, Debian is king.
User avatar
binutils
Member
Member
Posts: 214
Joined: Thu Apr 05, 2007 6:07 am

Post by binutils »

pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

rich_m wrote:is'nt there any alternative to RPMs???????//
Debian. Apt-get is amazing. I miss it whenever I use non-Debian distros.

Code: Select all

sudo apt-get install apache2
:D
xyzzy
Member
Member
Posts: 391
Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:

Post by xyzzy »

I should point out that it's not the package manager that matters here, it's the version of the distro. Even if he had apt-get, it won't just give him the latest version automatically, it'll give him the version packaged in the distro.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

I was just replying to his comment about RPMs ;)
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

AlexExtreme wrote:I should point out that it's not the package manager that matters here, it's the version of the distro.
Try gentoo. Distro versions are not a problem there :)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Steve the Pirate
Member
Member
Posts: 152
Joined: Fri Dec 15, 2006 7:01 am
Location: Brisbane, Australia
Contact:

Post by Steve the Pirate »

My server (and this computer) is running Ubuntu - I just had to do a sudo apt-get install mysql-server-5.0 php5-mysql and it was done - the only other thing I had to do was to enter a root password for the mysql server and boom, everything worked.
My Site | My Blog
Symmetry - My operating system.
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Post by JackScott »

Combuster wrote:Try gentoo. Distro versions are not a problem there :)
No, but the installation is. It's hardly user friendly. I tried it today. Ghastly.
Post Reply