系統環境
#系統版本信息
# 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