Skip to content

Instantly share code, notes, and snippets.

@rsky
Created February 5, 2013 15:38
Show Gist options
  • Save rsky/4715211 to your computer and use it in GitHub Desktop.
Save rsky/4715211 to your computer and use it in GitHub Desktop.
A shell script to download MySQL.
#!/bin/sh
release=5.6
version=5.6.10
revision=1
os=el6
arch=x86_64
extension=rpm
prefix="http://cdn.mysql.com/Downloads/MySQL-${release}/MySQL"
suffix="${version}-${revision}.${os}.${arch}.${extension}"
curl -O "${prefix}-client-${suffix}"
curl -O "${prefix}-devel-${suffix}"
curl -O "${prefix}-server-${suffix}"
curl -O "${prefix}-shared-${suffix}"
curl -O "${prefix}-shared-compat-${suffix}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment