Generating MySQL Doxygen Documentation Content Third-party tools that need to determine the MySQL version from the MySQL source can read the VERSION  file in the top-level source directory. The file lists the pieces of the version separately. For example, if the version is MySQL 8.0.4-rc, the file looks like this: If the source is not for a General Availablility (GA) release, the  MYSQL_VERSION_EXTRA  value is nonempty. In the example just shown, the value corresponds to “Release Candidate” . To construct a five-digit number from the version components, use this formula: The MySQL source code contains internal documentation written using Doxygen. The generated Doxygen content is available at https://dev.mysql.com/doc/index-other.html. It is also possible to generate this content locally from a MySQL source distribution using the following procedure: After installing  doxygen , verify the version number: When you install PlantUML on Windows (tested on Windows 10), you must run it at least once as administrator so it creates the registry keys. Open an administrator console and run this command: The command should open a GUI window and return no errors on the console. After installing Graphviz, verify  dot  availability. For example: First, execute  cmake : MYSQL_VERSION_MAJOR=8 MYSQL_VERSION_MINOR=0 MYSQL_VERSION_PATCH=4 MYSQL_VERSION_EXTRA=-rc MYSQL_VERSION_MAJOR*10000 + MYSQL_VERSION_MINOR*100 + MYSQL_VERSION_PATCH shell>  doxygen --version 1.8.13 shell> java -jar  path-to-plantuml.jar shell> export PLANTUML_JAR_PATH= path-to-plantuml.jar shell>  which dot /usr/bin/dot shell>  dot -V dot - graphviz version 2.28.0 (20130928.0220) shell> cd your-mysql-source-directory shell> mkdir bld shell> cd bld shell> cmake .. 247 5. Change location to the top-level directory of your MySQL source distribution and do the following: 4. Install the Graphviz  dot  command. 3. Set the  PLANTUML_JAR_PATH  environment to the location where you installed PlantUML. For example: 2. Install PlantUML. 1. Install  doxygen 1.8.11 or higher. Distributions are available here at http://www.doxygen.nl/. 2.9.10 Generating MySQL Doxygen Documentation Content