If you have downloaded a binary version of MySQL that includes
support for Berkeley DB, simply follow the usual binary
distribution installation instructions.
If you build MySQL from source, you can enable
BDB
support by invoking
configure with the
--with-berkeley-db
option in addition to any
other options that you normally use. Download a MySQL
5.1 distribution, change location into its
top-level directory, and run this command:
shell> ./configure --with-berkeley-db [other-options
]
For more information, see Section 2.7, “Installing MySQL on Other Unix-Like Systems”,
and Section 2.8, “MySQL Installation Using a Source Distribution”.