How to use the NoSQL plug-in in MySQL
This article shows you how to use the NoSQL plug-in in MySQL, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Basic installation steps for MySql:
Double-click the code to select all 12 3 4 56 7cd ahiguti-HandlerSocket-Plugin-for-MySQL-635b930. / autogen.sh. / configure-- with-mysql-source=/site/soft/mysql-5.1.33-- with-mysql-bindir=/data2/mysql5.1/bin-- with-mysql-plugindir=/data2/mysql5.1/lib/plugin make & & make install
Note: the plug-in library program installation directory specified by the with-mysql-plugindir option needs to be created in advance.
Two problems were encountered during installation:
1. An error occurred when executing the configure script:
Double-click the code to select all 1configure: error: MySQL source version does not match MySQL binary version
The cause of the error is:
The way to get the MYSQL_SOURCE_VERSION variable value in the configure script is not perfect, and the source code directory cannot be specified according to the-- with-mysql-source option to accurately analyze the publication number. The code snippet is obtained as follows:
Double click the code to select all 12 3 4 5 6 7 8 9 10 11 12 13if test-f "$ac_mysql_source_dir/configure.in" Then MYSQL_SOURCE_VERSION= `cat $ac_mysql_source_dir/configure.in | grep "[MySQL Server]" | sed-e "s |. * ([0-9] +. [0-9] +. [0-9] + [0-9] + [0-9] + [0-9a ac_mysql_source_dir: error: invalid MySQL source directory: $ac_mysql_source_dir" > & 5 echo "$as_me: error: invalid MySQL". Source directory: $ac_mysql_source_dir "> & 2 } {(exit 1); exit 1;};} fi
Solution:
Modify the configure script to comment out the logic to check whether the source code is consistent with the binary version number.
Double-click the code to select 1 2 3 4 5 6 7 8 if test a$MYSQL_SOURCE_VERSION! = a$MYSQL_BIN_VERSION; then # {{echo "$as_me:$LINENO: error: MySQL source version does not match MySQL binary version" > & 5 echo "$as_me: error: MySQL source version does not match MySQL binary version" > & 2;} # {(exit 1); exit 1;};} # fi
two。 Execution of make Times error:
Double-click the code to select all 1libtool: link: only absolute run-paths are allowed the above is how to use the NoSQL plug-in in MySQL, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.