Installing MySQL Using a Development Source Tree If you have gotten to the compilation stage, but the distribution does not build, see Section 2.9.8, “Dealing with Problems Compiling MySQL” , for help. If that does not solve the problem, please enter it into our bugs database using the instructions given in Section 1.6, “How to Report Bugs or Problems” . If you have installed the latest versions of the required tools, and they crash trying to process our configuration files, please report that also. However, if you get a  command not found  error or a similar problem for required tools, do not report it. Instead, make sure that all the required tools are installed and that your PATH  variable is set correctly so that your shell can find them. On Unix: This installs the files under the configured installation directory (by default,  /usr/local/mysql ). You might need to run the command as  root . To install in a specific directory, add a  DESTDIR  parameter to the command line: Alternatively, generate installation package files that you can install where you like: This operation produces one or more  .tar.gz  files that can be installed like generic binary distribution packages. See Section 2.2, “Installing MySQL on Unix/Linux Using Generic Binaries” . If you run  CMake with  -DCPACK_MONOLITHIC_INSTALL=1 , the operation produces a single file. Otherwise, it produces multiple files. On Windows, generate the data directory, then create a  .zip  archive installation package: You can install the resulting  .zip  archive where you like. See Section 2.3.4, “Installing MySQL on Microsoft Windows Using a  noinstall  ZIP Archive” . The remainder of the installation process involves setting up the configuration file, creating the core databases, and starting the MySQL server. For instructions, see Section 2.10, “Postinstallation Setup and Testing” . The accounts that are listed in the MySQL grant tables initially have no passwords. After starting the server, you should set up passwords for them using the instructions in Section 2.10, “Postinstallation Setup and Testing” . This section describes how to install MySQL from the latest development source code, which is hosted on GitHub. To obtain the MySQL Server source code from this repository hosting service, you can set up a local MySQL Git repository. On GitHub, MySQL Server and other MySQL projects are found on the MySQL page. The MySQL Server project is a single repository that contains branches for several MySQL series. Install the Distribution Perform Postinstallation Setup 2.9.5 Installing MySQL Using a Development Source Tree Note shell>  make install shell>  make install DESTDIR="/opt/mysql" shell>  make package shell>  devenv MySQL.sln /build RelWithDebInfo /project initial_database shell>  devenv MySQL.sln /build RelWithDebInfo /project package 212