#系统版本信息
# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
#python版本信息
# python -V
Python 2.7.5
安装 mysql
对于 mysql5.7 部署与安装,详见linux7 yum安装Mysql5.7~
pip安装mysql_python
centos下用pip安装mysql_python报错,内容如下:
处理方法:
yum install -y mysql-devel && pip install MySQL-python