2016-08-03 6 views
0
내가 하지만 Percona 57 RHEL7에 ansible mysql_user 모듈을 사용하려고

와 mysql_user하지만 실패는Ansible의 Percona 57 RHEL7

the python mysqldb module is required

에 나는 I`ve도 설치하려고 Percona 57 전체 설치 yum은 MySQL-python을 설치합니다. (1.2.3) 는하지만, 파이썬에서 내가

ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory

핍은 MySQL을 - 파이썬을 설치 얻을 MySQLdb를 가져올 때 오류 (1.2.5)

unable to execute gcc: No such file or directory 
 
    error: command 'gcc' failed with exit status 1 
 

 
    ---------------------------------------- 
 
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-_9GWXZ/MySQL-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-rmYnmt-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-_9GWXZ/MySQL-python

실패 다른 누구도 그 문제가 있었습니까?

답변

0

그래서 마침내 SELinux가 포트를 차단한다는 것을 알았습니다.> <