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

Stimulsoft Reports.PHP discussion
Post Reply
Mario
Posts: 1
Joined: Thu Aug 04, 2011 8:20 am
Location: Gemany

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

Post 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
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

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

Post 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.
Post Reply