The following common problem often pops up  durring installaltion of MySQL-python on cPanel server:
yum install MySQL-python--disableexcludes=all
  • Running transaction check
  • Package MySQL-python.x86_64 0:1.2.3-0.3.c1.1.el6 will be installed
  • Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: MySQL-python-1.2.3-0.3.c1.1.el6.x86_64
  • Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: MySQL-python-1.2.3-0.3.c1.1.el6.x86_64
  • Running transaction check
  • Package mysql-libs.x86_64 0:5.1.69-1.el6_4 will be installed
  • Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size
  

Installing:
MySQL-python x86_64 1.2.3-0.3.c1.1.el6 cloudlinux-x86_64-server-6 85 k
Installing for dependencies:
mysql-libs x86_64 5.1.69-1.el6_4 cloudlinux-x86_64-server-6 1.2 M

Transaction Check Error:
file /usr/share/mysql/charsets/README from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64

Error Summary

The issue is with MySQL package. Yum is trying to satisfy requirements by install mysql-libX, and that rpm conflicts with files from package MySQL55-server .

To fix the issue, you should install libmysqlclient_r.so.16 on your server. That can be done installing mysqlclient16 RPM from our test repository:

yum--enablerepo=cloudlinux-updates-testing install mysqlclient16--disableexcludes=all

After that MySQL-Python will be installed without any issues.

Was this answer helpful? 32 Users Found This Useful (93 Votes)