How to Get MySQL
50
2.5. How to Get MySQL
Check our downloads page at
http://dev.mysql.com/downloads/
for information about the current
version of MySQL and for downloading instructions. For a complete up-to-date list of MySQL download
mirror sites, see
http://dev.mysql.com/downloads/mirrors.html
. You can also find information there
about becoming a MySQL mirror site and how to report a bad or out-of-date mirror.
To obtain the latest development source, see
Section 2.17.2, “Installing MySQL from a Development
Source Tree”
.
2.6. Verifying Package Integrity Using MD5 Checksums or
GnuPG
After you have downloaded the MySQL package that suits your needs and before you attempt to install
it, you should make sure that it is intact and has not been tampered with. There are three means of
integrity checking:
• MD5 checksums
• Cryptographic signatures using
GnuPG
, the GNU Privacy Guard
• For RPM packages, the built-in RPM integrity verification mechanism
The following sections describe how to use these methods.
If you notice that the MD5 checksum or GPG signatures do not match, first try to download the
respective package one more time, perhaps from another mirror site.
2.6.1. Verifying the MD5 Checksum
After you have downloaded a MySQL package, you should make sure that its MD5 checksum matches
the one provided on the MySQL download pages. Each package has an individual checksum that
you can verify against the package that you downloaded. The correct MD5 checksum is listed on the
downloads page for each MySQL product, and you will compare it against the MD5 checksum of the
file (product) that you download.
Each operating system and setup offers its own version of tools for checking the MD5 checksum.
Typically the command is named
md5sum
, or it may be named
md5
, and some operating systems do
not ship it at all. On Linux, it is part of the GNU Text Utilities package, which is available for a wide
range of platforms. You can also download the source code from
http://www.gnu.org/software/textutils/
.
If you have OpenSSL installed, you can use the command
openssl md5 package_name
instead.
A Windows implementation of the
md5
command line utility is available from
http://www.fourmilab.ch/
md5/
.
winMd5Sum
is a graphical MD5 checking tool that can be obtained from
http://www.nullriver.com/
index/products/winmd5sum
. Our Microsoft Windows examples will assume the name
md5.exe
.
Linux and Microsoft Windows examples:
shell>
md5sum mysql-standard-5.0.96-linux-i686.tar.gz
aaab65abbec64d5e907dcd41b8699945 mysql-standard-5.0.96-linux-i686.tar.gz
shell>
md5.exe mysql-installer-community-5.0.96.msi
aaab65abbec64d5e907dcd41b8699945 mysql-installer-community-5.0.96.msi
You should verify that the resulting checksum (the string of hexadecimal digits) matches the one
displayed on the download page immediately below the respective package.
Note
Make sure to verify the checksum of the archive file (for example, the
.zip
,
.tar.gz
, or
.msi
file) and not of the files that are contained inside of the
archive. In other words, verify the file before extracting its contents.
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...