man pages section 1: User Commands

Exit Print View

Updated: July 2014

make_win_bin_dist (1)


make_win_bin_dist - package MySQL distribution as ZIP archive


make_win_bin_dist [options] package_basename [copy_def ...]


MySQL Database System                        MAKE_WIN_BIN_DIST(1)

     make_win_bin_dist - package MySQL distribution as ZIP

     make_win_bin_dist [options] package_basename [copy_def ...]

     This script is used on Windows after building a MySQL
     distribution from source to create executable programs. It
     packages the binaries and support files into a ZIP archive
     that can be unpacked at the location where you want to
     install MySQL.

     make_win_bin_dist is a shell script, so you must have Cygwin
     installed to use it.

     This program's use is subject to change. Currently, you
     invoke it as follows from the root directory of your source

         shell> make_win_bin_dist [options] package_basename [copy_def ...]

     The package_basename argument provides the basename for the
     resulting ZIP archive. This name will be the name of the
     directory that results from unpacking the archive.

     Because you might want to include files of directories from
     other builds, you can instruct this script do copy them in
     for you, via copy_def arguments, which of which is of the
     form relative_dest_name=source_name.



     If you specify a directory, the entire directory will be

     make_win_bin_dist supports the following options:

     o   --debug

         Pack the debug binaries and produce an error if they
         were not built.

     o   --embedded

         Pack the embedded server and produce an error if it was
         not built. The default is to pack it if it was built.

     o   --exe-suffix=suffix

MySQL 5.1            Last change: 07/13/2009                    1

MySQL Database System                        MAKE_WIN_BIN_DIST(1)

         Add a suffix to the basename of the mysql binary. For
         example, a suffix of -abc produces a binary named

     o   --no-debug

         Do not pack the debug binaries even if they were built.

     o   --no-embedded

         Do not pack the embedded server even if it was built.

     o   --only-debug

         Use this option when the target for this build was
         Debug, and you just want to replace the normal binaries
         with debug versions (that is, do not use separate debug

     Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.

     This documentation is free software; you can redistribute it
     and/or modify it only under the terms of the GNU General
     Public License as published by the Free Software Foundation;
     version 2 of the License.

     This documentation is distributed in the hope that it will
     be useful, but WITHOUT ANY WARRANTY; without even the
     implied warranty of MERCHANTABILITY or FITNESS FOR A
     PARTICULAR PURPOSE. See the GNU General Public License for
     more details.

     You should have received a copy of the GNU General Public
     License along with the program; if not, write to the Free
     Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     Boston, MA 02110-1301 USA or see

     See attributes(5) for descriptions of the following

     |Availability   | database/mysql-51 |
     |Stability      | Uncommitted       |

MySQL 5.1            Last change: 07/13/2009                    2

MySQL Database System                        MAKE_WIN_BIN_DIST(1)

     For more information, please refer to the MySQL Reference
     Manual, which may already be installed locally and which is
     also available online at

     Sun Microsystems, Inc. (

     This software was built from source available at  The original
     community source was downloaded from

     Further information about this software can be found on the
     open source community website at

MySQL 5.1            Last change: 07/13/2009                    3