title: How to install Pip 3 and then Python Lib MySQLdb on Synology
body: <p>Im trying to install on Synology DS215j  the Python lib (<strong>mysqlclient</strong>) to connect Mysql </p>
  
  <p>1) I install  Python 3.5 from the package manager <strong>(OK)</strong></p>
  
  <p>2) Then i SSh to Synology Station
  and i get admin right -->  sudo -i</p>
  
  <p>3) install Pip3
  curl -k <a href="https://bootstrap.pypa.io/get-pip.py" rel="nofollow noreferrer">https://bootstrap.pypa.io/get-pip.py</a> | python3 <strong>(OK)</strong></p>
  
  <p>I cheek what pakage are in the system
  --> /volume1/@appstore/py3k/usr/local/bin/pip3 list
  Package    Version</p>
  
  <hr>
  
  <p>pip        19.1.1
  setuptools 41.0.1
  wheel      0.33.4</p>
  
  <p>4) Then i try to install --> mysqlclient
  --> /volume1/@appstore/py3k/usr/local/bin/pip3 install mysqlclient</p>
  
  <p>But i get this error Message.</p>
  
  <p>ERROR: Complete output from command python setup.py egg_info:
  ERROR: /bin/sh: mysql_config: command not found
  Traceback (most recent call last):
  File "", line 1, in 
  File "/tmp/pip-install-kfd9_v0o/mysqlclient/setup.py", line 16, in  metadata, options = get_config()
  File "/tmp/pip-install-kfd9_v0o/mysqlclient/setup_posix.py", line 51, in get_config
          libs = mysql_config("libs")
        File "/tmp/pip-install-kfd9_v0o/mysqlclient/setup_posix.py", line 29, in mysql_config
          raise EnvironmentError("%s not found" % (_mysql_config_path,))
      OSError: mysql_config not found
      ----------------------------------------
  ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kfd9_v0o/mysqlclient/</p>
  
  <p>Unfortunately i have no idea how to fix this problem.
  I will appreciate some help.
  Thanks
  marco</p>