I want to create a server-side authentication plugin for MySQL v8.0, so I am trying to build MySQL from source in order to install the plugin header files.
Here is how I compiled and installed:
sudo apt update
sudo apt install build-essential libncurses-dev libssl-dev zlib1g-dev cmake git libboost-all-dev pkg-config bison
git clone
https://github.com/mysql/mysql-server.git
cd mysql-server/sql
bison sql_yacc.yy -o sql_yacc.cc -Hsql_yacc.hh
bison sql_hints.yy -o sql_hints.yy.cc -Hsql_hints.yy.hh
cd ..
mkdir bld
cd bld
cmake ..
make
make install
However, I am not seeing the server-side header files anywhere. I tried searching for them with find:
sudo find /usr/local/mysql -name "plugin*"
There is no plugin.h or plugin_auth.h. How do I properly install them?