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.0 distribution, change location into its top-level
directory, and run this command:
./configure --with-berkeley-db [
For more information, Section 2.16, “Installing MySQL on Unix/Linux Using Generic Binaries”, and Section 2.17, “Installing MySQL from Source”.