More in this section
Forums / Set-up & Installation / Using MySQL with Sitefinity

Using MySQL with Sitefinity

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
4 posts, 0 answered
  1. henrik Rediin
    henrik Rediin avatar
    1 posts
    10 Apr 2005
    07 Nov 2007
    Link to this post

    I've just installed Sitefinity for a test-drive. Everything went well, and I can access the administrationmodule just fine -at least the frontpage.

    I haven't got SQL Server on the machine, as I need to use MySQL as the datastorage. So, how do I go about setting Sitefinity up for MySQL ?

    I can't find any info what so ever on this in the manuals...

    Thank you for helping out.

    Regards Henrik

  2. Pepi
    Pepi avatar
    981 posts
    31 Jan 2017
    07 Nov 2007
    Link to this post
    Hi henrik,

    First of all, you need to create your MySQL database. After that, you should set the Database in the process of creating Sitefinity project (have a look at the attached screenshot):

    1. Choose MySQL from the list with databases
    2. Set MySQL connection properties

    You could find more information for creating projects in the User Manual, chapter Creating Projects.

    Let us know how it goes.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. David
    David avatar
    50 posts
    14 Jan 2009
    15 Jan 2009
    Link to this post

    I have been trying for two days now to get my MySQL database working with SiteFinity.

    The first time that I create a new project on a fresh install, it is successful in bringing me to the page where you connect to the database. I enter the database information, and then after that, I try to continue, and it gives me the following error.

    Any help you can offer will be greatly appreciated.


    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: 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 '-diego.NN_NextValue' at line 1

    Source Error:

    Line 89:         <clear />
    Line 90:         <add connectionStringName="DefaultConnection" applicationName="/"
    Line 91:           name="Sitefinity" type="Telerik.DataAccess.AspnetProviders.TelerikRoleProvider, Telerik.DataAccess" />
    Line 92:       </providers>
    Line 93:     </roleManager>

    Source File: C:\Program Files\telerik\Sitefinity3.5\WebSites\app\web.config    Line: 91

    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    19 Jan 2009
    Link to this post
    Hi David,

    Could you please try setting up the connection string directly in the web.config file and then running Sitefinity again? Let us know about the result.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered