MySQL 8.3.0
Source Code Documentation
Getting Started

Build from source

See https://dev.mysql.com/doc/refman/8.0/en/source-installation.html

Debugging

The easiest way to install a server, and attach a debugger to it, is to start the mysql-test-run (MTR) tool with debugging options

cd mysql-test
./mtr --ddd main.parser

The following functions are good candidates for breakpoints:

  • my_message_sql
  • dispatch_command

Replace 'main.parser' with another test script, or write your own, to debug a specific area.