Mysql / Crystal Reports Error

Good Afternoon,

Whenever I try to create a report in CR 2008 I get the following errror message when trying to add a table to the report useing the standard report creation wizard:
"Database Connector Error: 142000:[MYSQL][ODBC 3.51 Driver][mysqld-5.0.67-community-nt-log] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near `.<tablename> where 0=1' at line 1 [Database Vendor Code: 1064]"

When I use the ODBC 5.1 driver I get this error:
"The database table <tablename> cannot be found. Proceed to remove this table from the report?"  

Before it displays any data it gives me this error, then displays my data.

I'm at a loss here!

Any ideas?

Thanks in advance!!!

jb
transstatesAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mlmccConnect With a Mentor Commented:
Are using the 32 -bit drivers?

mlmcc
0
 
mlmccCommented:
According to this document for Cystal 2008 supported platforms, you can use the MySQL ODBC 5.1
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30da6fbd-7d4f-2d10-a38c-96596304586b?QuickLink=index&overridelayout=true

mlmcc
0
 
transstatesAuthor Commented:
No matter what driver I try.  I get the same error.  The second one.

"The database table <tablename> cannot be found. Proceed to remove this table from the report?"  
0
 
transstatesAuthor Commented:
Driver was setup using RDO and not ADO.  We changed the driver out and now the report works fine.  Thanks for taking the time trying to help.

jb
0
All Courses

From novice to tech pro — start learning today.