Install libmysqlcppconn-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libmysqlcppconn-dev
MySQL Connector for C++ (development files)
MySQL Connector/C++ is a MySQL database connector for C++. . It mimics the JDBC 4.0 API. . This package contains the development files (headers, static library).