Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

MySQL Python2.7 packages not in repo for EL6 #472

Open
replicant0wnz opened this issue Dec 21, 2017 · 0 comments
Open

MySQL Python2.7 packages not in repo for EL6 #472

replicant0wnz opened this issue Dec 21, 2017 · 0 comments

Comments

@replicant0wnz
Copy link

The MySQL Python2.7 packages are not included for EL6 which causes the mysql_user and other functions to error out with the following:

Reason: 'mysql_user' virtual returned False

Installing via pip2.7 barfed out even with GCC installed.

I was able to install the python27-MySQL-python-1.2.3-10.sc1.el6.x86_64 package from CentOS and then manually copy over the following:

/opt/rh/python27/root/usr/lib64/python2.7/site-packages/_mysql_exceptions.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/_mysql_exceptions.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/_mysql_exceptions.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/_mysql.so
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/MySQLdb

to the /usr/lib64/python2.7/site-packages dir to fix the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant