我在 CentOS 上安装了 Percona Server。我想安装 mysql-python 但出现此错误 环境错误:找不到 mysql_config
Percona Server 没有这样的文件。如何安装 mysql-python 来连接到 Percona mysql ?
最佳答案
您可以通过运行以下命令获取 mysql_config:
yum install Percona-XtraDB-Cluster-devel
一旦你有了这个,就可以继续安装 mysql-python:
yum install mysql-python
在我在这里找到这个之前,我搜索了很多谷歌: http://www.percona.com/forums/questions-discussions/percona-xtradb-cluster/11038-mysql-config-sysbench-percona-xtradb-cluster
关于python - 使用 Percona 安装 mysql-python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21481985/