Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to install the latest version of MySQL on my CentOS box. I am trying it with yum but yum is listing out 5.0.58-jason.2 version of MySQL which is pretty older one. Also I tried yum update command also thinking yum itself needs some updations and then tried to run
yum install mysql
but then also it listed only the above version.
I am new to linux and really lost in CentOS world.
My Server is:
[root@chillyroll ~]# uname -a
Linux chillyroll 2.6.18-92.el5PAE #1 SMP Tue Jun 10 19:22:41 EDT 2008 i686 i686 i386 GNU/Linux
[root@chillyroll ~]# cat /etc/redhat-release
CentOS release 5.3 (Final)
Thanks.
Last edited by chillyroll; 04-17-2009 at 01:48 AM.
Reason: added more info
You can always download the RHEL5 RPMs from mysql.com. However, you're probably OK installing the version from yum, since those versions are usually up-to-date (provided that your yum sources are correct and updated), despite the apparent version number mismatch.
You can always download the RHEL5 RPMs from mysql.com. However, you're probably OK installing the version from yum, since those versions are usually up-to-date (provided that your yum sources are correct and updated), despite the apparent version number mismatch.
Thanks Camh, but the thing is I want MySQL version 5.1 or higher since I need to use Partitioning Support of MySQL which comes only after 5.1 or later. 5.0 doesn't support partitioning.
Any good links which I can refer to install MySQL on CentOS box???
Also, I have updated the yum. But it still shows the older version 5.0.58 version. Now sure why!
Thanks.
Last edited by chillyroll; 04-17-2009 at 02:08 AM.
Reason: added more info
First, uninstall the version you installed with yum (yum remove mysqld). Then download the rpm(s) from mysql.com and install with
rpm -i packagename.
You'll need to sort out a few updated dependencies in all likelihood. You'll probably need the 5.1 client as well.
The reason CentOS doesn't have 5.1 is that RH, and therefore CentOS, doesn't always use the latest and greatest versions of software, but aims for stability. This is the case across kernels and most packages.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
rpm -U ( usually rpm -Uvh ) is the default update / install command.
But if the version numbering differs from "default" your current
package will not be updated / replaced.
( major / minor numbering example : 5.1.48-1 )
And the install will behave like 'rpm -i '
'rpm -i ' is the command you will use if no other package
'<name><version>' is installed, or you want to install an
extra versions ( of a library ) : No update, will leave the
e.g. older version installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.