Mysql Proxy安装与配置

来源:互联网 发布:java抽象方法的定义 编辑:程序博客网 时间:2024/06/16 03:47

步骤

wget https://cdn.mysql.com/archives/mysql-proxy/mysql-proxy-0.8.5.tar.gz

tar -zxvf mysql-proxy-0.8.5.tar.gz

cd mysql-proxy-0.8.5

./configure --prefix=/usr/local/mysql-proxy






问题处理

问题:configure: error: The pkg-config script could not be found or is too old.  Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

解决:

安装 pkg-config

wget https://pkg-config.freedesktop.org/releases/pkg-config-0.29.tar.gz

tar -zxvf pkg-config-0.29.tar.gz

cd pkg-config-0.29

./configure --prefix=/usr/local/pkg-config --with-internal-glib

make

make install

原创粉丝点击