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.
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!