Using MySQL as Data Source

Using MySQL as Data Source

Forum member · Feb 24, 2007
How would I go about using MySQL as a data source for a report? Can you please explain your answers as fully as possible please because I'm just learning programming... Thanks James

Re: Using MySQL as Data Source

Support · Feb 26, 2007
Hello James, If you want to connect to the database and get the data using the Generator product then you can use the inbuilt database connectivity classes of the .NET class library. You can refer to the example Contact List which gets data from database. If you are working with the ReportWriter you can follow the following steps to connect to the MySQL database. 1. Make sure the Properties Box visible (to display the Properties Box, select View menu, then "Properties Box"). 2. Next, select the Report to view its properties either by clicking on the blue vertical tab labeled "Report" or by selecting the report from the drop down list in the Properties window. 3. Find the "Query" property under the "Data" section of the report properties and press the more button. 4. A new Query Editor window opens up. 5. Select the Provider type as Event Driven from the list and you can specify the connection string here or in the web.config. Thanks, ceTe Software Support Team.