Solved

Connect Crystal Reports 2008 to mySQL database on webhost

Posted on 2010-11-09
4
666 Views
Last Modified: 2012-05-10
I'm developing an application in PHP that using a mySQL database stored on our webhost.  How do I get Crystal Reports 2008 to connect to the mySQL database?  I don't see an option in the database wizard for a mySQL database.

Thanks in advance for any help.

Steve
0
Comment
Question by:stkoontz
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:gamarrojgq
ID: 34097702
Hi,

You can try using ODBC or Ole DB, where you can use your own connection string, like in the attached image
MySqlCrystal.jpg
0
 
LVL 2

Author Comment

by:stkoontz
ID: 34101641
Thanks for helping me with this.

I set up an ODBC connection to the mySQL database that tested fine.  When I select that connection in Crystal, no tables come up.

The funny thing now is that when I try to go back in to edit or delete that ODBC connection, I get the error "invalid input string."

Thanks again.  I do appreciate the help.

Steve
odbc.jpg
0
 
LVL 13

Accepted Solution

by:
gamarrojgq earned 500 total points
ID: 34104451
Well that is weird, have you try to create another ODBC Connection? or to create an OLE DB connection with a ConnectionString?
0
 
LVL 2

Author Comment

by:stkoontz
ID: 34104954
Using the connection string did the trick.

Thanks!

Steve
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question