To the point, this two days in learning, the UDF mysql environment: Linux centos problem: through the g + + compiler generated. So file, unable to load in the mysql plugin,
1. First of all, I generate. So the file and cp to mysql plugin directory
2. Create the function in the mysql client json_object returns the string soname 'udf_redis. So;
And then an Error: Error Code: 1127. Can 't find symbol' json_object 'library in
Here is my makefile
Here is the project
The file of cp to mysql plugin
The function in the query. So the file
The definition of the function
The mysql client load instruction
The reason for the error: