Page 1 of 1

Report with MySQL-Data works in Designer, but no Data in Viewer

Posted: Thu Aug 04, 2011 8:33 am
by Mario
Hello,

I'm evaluating der Reports.Fx for PHP with the latest trial verison. I create a report with MySQL connection and in the preview pane shows all data. Then I save the report on my webserver (copy quickstart folder, save the report under reports folder) and open the report with a browser (http://localhost/reports/stimulsoft/ind ... nutzer.mrt). The report shows no data. The designer and the webserver are the same machine. Where I put the database connection parameter for the viewer?

thanks

Mario

Report with MySQL-Data works in Designer, but no Data in Viewer

Posted: Fri Aug 05, 2011 5:30 am
by Vladimir
Hello,

The connection parameters to the database is stored in the MRT report template as a connection string. It should specify the following parameters: server (host), port, database name, user id and password. For example,

server=localhost;database=test_db;port=3306;uid=root;pwd=;

Please try to run the report web designer (http://localhost/reports/stimulsoft/ind ... nutzer.mrt), go to the connection string editor and try to test it by clicking on the 'Test' button.

Thank you.