On the MySQL download page, you’ll see a different string of characters such as:
MD5: 0d2a3b39e7bb4109b2f7b451b7768f34
next to each file. You should ensure that the checksum of the file you have downloaded matches the corresponding value on the downloads page.
On Linux, use the md5sum program on the downloaded file
md5sum mysql-standard-5.0.22-linux-i686.tar.gz0eaa7a8ec18699ce550db1713a27cda3 mysql-standard-5.0.22-linux-i686.tar.gz
The filename is shown in italic in this example because
the name is likely to change, and you’ll have to type in the actual name of the file you download.
On Windows, you can download and use the free winMd5Sum program from
http://www.nullriver.com/winmd5sum. This program is very easy to use just
install and start the program, press the “
” button to browse for and select the downloaded file, and
Figure 2-2. The MySQL AB downloads pageDownloading and Verifying Files from the MySQL AB Web Site | 23 then read off the checksum value. Figure 2-4 shows what this program’s dialog box looks like. On Mac OS X, open a terminal window and use the md5
program:
$
md5 mysql-standard-5.0.22-osx10.4-i686.dmgMD5
(mysql-standard-5.0.22-osx10.4-i686.dmg) =
b7d7f0878503db504e1eaed5d2518f4e
Digitally signed packages offer a more secure way to ensure that files have not been tampered with however, MD checksums should be sufficient for most readers of this book.
Figure 2-3. The Linux section of the MySQL downloads pageShare with your friends: