On my DS 213+ (DSM 6.2.4-25556), if I connect via ssh, I have a php 5.6 and a python 2.7:
$ php -v
PHP 5.6.11 (cli) (built: Mar 4 2021 18:45:33)
$ python --version
These software are in /bin :
$ which php
[email protected]:~$ which python
How to get by...
ssh into SynoNAS, sql.connector installed, MariaDB10 is running can be accessed by root query tables in command line.
but via python:
got following error:
I check also :
seems mysql is running on 0.0.0.0 not 127.0.01 for loopback?
if so , how to set?
thanks for any thoughts.
don't if this is the correct subgroup to ask, please move there if needed.
anyone tried above topic? would be nice to have a self-contained headless browser like PhantomJS...
The current possible headless browsers like Firefox or Chrome still need a complete installation... (aka no-go)...