Install libmysql-ocaml-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libmysql-ocaml-dev
OCaml bindings for MySql (development package)
This OCaml library interfaces the MySql C library. It can be used to access and modify MySql databases from OCaml programs. . This package contains all the development stuff you need to use OCaml MySql in your programs.