Connect SharePoint 2010 to external MySQL Database

Posted on 2011-10-06
Last Modified: 2014-02-25
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.
Question by:jj1103

    Author Comment

    Would it be possible to make this work by installing MySQL OLE DB Provider?
    LVL 14

    Accepted Solution


    Author Comment

    Hi, I keep getting this error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Author Closing Comment

    After fiddling around with the code from the link I got it to work!  Thanks for the link, abhitrig!

    Expert Comment

    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??

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
    The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now