MySQL is one of the most popular open source databases and an integral part of the infrastructure of the Internet. MySQL is a modern database. It came into prominence at a time when relational databases were well established, SQL was standardized, and C++ was already in wide use. In this paper, the authors discuss about the various parts of MySQL's code and understand how they relate to each other. The authors identify and discover the dependencies among the methods, structs, classes, global variables and other code elements using Lattix Architect. MySQL is a collection of binaries, one of which is the database server, as well as multiple libraries. These libraries include the ones that SQL client applications can link into, along with many other utilities and test programs.