PHPJasper / phpjasper

A PHP report generator
MIT License
462 stars 162 forks source link

Communications link failure #286

Open ddmo opened 3 years ago

ddmo commented 3 years ago

Hi to all, after several years, I got this error:

Unable to connect to database: Communications link failure

This is the command:

/path/to/jasperstarter process /path/to/file.jasper -o /path/to/output -f pdf -r /other/path/ -P querySource="SELECT * FROM table" -t mysql -u root -p ***** -H 127.0.0.1 -n db --db-port 3306 The same query on mysql or on jasper report works fine. If I try to connect with mysql clients, everything goes fine. I've ^2.3 versione on composer.

What's the problem?! Thanks!

ddmo commented 3 years ago

Hi, any ideas?