MySQL Forums
Forum List  »  Source, Builds, Binaries

How do I build from source for plugin development?
Posted by: Peter Orlowski
Date: April 12, 2024 12:33PM

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?

Options: ReplyQuote


Subject
Views
Written By
Posted
How do I build from source for plugin development?
268
April 12, 2024 12:33PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.