mysql_config not found when installing mysqldb python interface

前端 未结 30 1442
暗喜
暗喜 2020-11-22 06:56

I am trying to get a Python script to run on the linux server I\'m connected to via ssh. The script uses mysqldb. I have all the other components I need, but when I try to i

30条回答
  •  旧巷少年郎
    2020-11-22 07:22

    In CentOS 7 , the following things should be done:

    #step1:install mysql 
    https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/
    
    #step2:
    sudo yum install mysql-devel
    

    or

    sudo yum install mysql-community-devel
    

提交回复
热议问题