- Oct 25, 2007
- 1,981
- 1
- 0
I'm doing all of this as part of studying for the Linux+ exam, so I'm pretty firm on using RPM for this. I have found a few examples using apt-get and yum, but I want to do this with RPM. I have been able to install other applications with RPM in the past, but I just can't seem to get this one working. Any help is appreciated and any additional information that is required just ask and I'll post it ASAP.
O/S: CentOS 5.5
SQL Version: 5.1.48
Package Manager: RPM 4.4.2.3
Resources I've tried:
I've been using rpm -Uvh, but I get the same error messages with rpm -ivh.
I try the following:
And I get the following error:
So then I decided I'd try a direct FTP or HTTP download; unfortunately, the Download Page points to a bunch of mirrors in the following format:
If I try a direct download using the following:
I receive an error "File not found by glob: filename" -- The same holds true for the HTTP redirect.
Trying to manually navigate through the HTTP (e.g. http://mirror.services.wisc.edu/mysql/ ) just brings me back around to the main download page. If I go through the FTP (e.g. ftp://mirror.services.wisc.edu/mirrors/mysql/ ) I am able to locate the correct download file:
But when I try to RPM the file:
I get this error:
I try going directly into the site with this command:
But I don't have the login credentials necessary.
The second resource that I have listed above directs me to ftp.mysql.com, but this only contains older versions of MySQL in source format.
O/S: CentOS 5.5
SQL Version: 5.1.48
Package Manager: RPM 4.4.2.3
Resources I've tried:
I've been using rpm -Uvh, but I get the same error messages with rpm -ivh.
I try the following:
Code:
rpm -Uvh MySQL-server-community-5.1.48-1.rhel5.i386.rpm
Code:
error: open of MySQL-server-community-5.1.48-1.rhel5.i386.rpm failed: No such file or directory
Code:
http://www.mysql.com/get/Downloads/MySQL-5.1/MySQL-server-community-5.1.48-1.rhel5.i386.rpm/from/[B]http://mirror.services.wisc.edu/mysql/[/B]
-- or --
http://www.mysql.com/get/Downloads/MySQL-5.1/MySQL-server-community-5.1.48-1.rhel5.i386.rpm/from/[B]ftp://mirror.services.wisc.edu/mirrors/mysql/[/B]
Code:
rpm -Uvh http://www.mysql.com/get/Downloads/MySQL-5.1/MySQL-server-community-5.1.48-1.rhel5.i386.rpm/from/[b]ftp://mirror.services.wisc.edu/mirrors/mysql/
Trying to manually navigate through the HTTP (e.g. http://mirror.services.wisc.edu/mysql/ ) just brings me back around to the main download page. If I go through the FTP (e.g. ftp://mirror.services.wisc.edu/mirrors/mysql/ ) I am able to locate the correct download file:
Code:
ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/MySQL-5.1/MySQL-client-community-5.1.48-1.rhel5.i386.rpm
Code:
rpm -Uvh ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/MySQL-5.1/MySQL-client-community-5.1.48-1.rhel5.i386.rpm
Code:
Retrieving ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/MySQL-5.1/MySQL-client-community-5.1.48-1.rhel5.i386.rpm
error: skipping ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/MySQL-5.1/MySQL-client-community-5.1.48-1.rhel5.i386.rpm - transfer failed - Unknown or unexpected error
Code:
ftp mirror.services.wisc.edu
The second resource that I have listed above directs me to ftp.mysql.com, but this only contains older versions of MySQL in source format.