Creating Reports in Crsytal Reports Using MySQL

callraheel

Well-known member
Joined
Dec 12, 2004
Messages
65
Location
London,UK
Programming Experience
1-3
Connecting to MySQL from Crystal Reports

Hello
I have been searching on this topic for long on MySQL Forums but im unable to find a suitable answer for my needs..
Well my question is to describe in detail how to connect MySQL with Crystal Reports.
I have tried it many times with ODBC but it always fails to connect so anyone can help out but please give reference to some detailed help or help deeply.

And one more question is there any other way to connect except ODBC to MySQL through Crystal Reports.

Now the details of softwares i'm using :
MySQL Version : v4.1.12
Crystal Reports 10
VB.NET 2003 with Framework 1.1
MySQL Connector .NET 1.0.4

I hope it will help too

waiting for your reply

Regards
Raheel
 
Last edited:
OK this the easiest way i know. Go under Administrative Tools in control panel and double click Data Sources (ODBC). Then create new ODBC conn (i assume this is what you've missed there). Note that this could be done programatically as well. Back to the IDE and from Doc Exp. find conn that was created and that's it ... now you can draw the table/s what you need for your report/s.
Correct me if i'm wrong ... i'll be glad to help you

Cheers ;)
 
Well i think you are right but my computer configuration might be wrong because i cant find any MySQL Option in ODBC Connection Sources Section.
Could you please tell me why its happening.
 
You should also download the odbc driver for mysql.
it is available at mysql.com

without the driver, you cannot create an odbc data source for your program.
 
Well long time , isnt it?
i have tried that before but it takes long time
Isnt there any confirguration in Crsytal Reports itself to access MySQL Tables.???
 
Back
Top