mysql_config not found when installing mysqldb python interface

前端 未结 30 1836
暗喜
暗喜 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:40

    I think, following lines can be executed on terminal

     sudo ln -s /usr/local/zend/mysql/bin/mysql_config /usr/sbin/
    

    This mysql_config directory is for zend server on MacOSx. You can do it for linux like following lines

    sudo ln -s /usr/local/mysql/bin/mysql_config /usr/sbin/
    

    This is default linux mysql directory.

提交回复
热议问题