Connect SharePoint 2010 to external MySQL Database

I am new to SharePoint. I need to build a SharePoint page using Designer to display data from a MySQL database located on another server. Everything I have tried doesn't work/ doesn't connect.

1. MySQL Driver 5.1 has already been installed

2. DSN name and connection has been created and tested (DSN=myDSN)

3. I've gone through SharePoint Designer to “Data Sources” on the left Navigation pane. Clicked on “DataBase Connection” at the top ribbon....

4. I've entered just DSN=myDSN   (Doesn't work)

5. I've entered connection string (didn't include actual info): DSN=MyDSN;Driver={MySQL ODBC 5.1 Driver};database=training;option=0;uid=root;pwd=pas2;port=3306;server=ipaddresshere;  (Doesn't work)

6. I've restarted the server too.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jj1103Author Commented:
Would it be possible to make this work by installing MySQL OLE DB Provider?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jj1103Author Commented:
Hi, I keep getting this error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
jj1103Author Commented:
After fiddling around with the code from the link I got it to work!  Thanks for the link, abhitrig!
After fiddling around with the code from the link I got it to work!  Thanks for the link, abhitrig!

How do you solve it? How can i connect to the mysql database??
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.