Mysql Proxy安装与配置

步骤

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

你可能感兴趣的:(MYSQL,MySQL)