constant error

4 posts, 0 answers
  1. Vinicius
    Vinicius avatar
    3 posts
    Member since:
    May 2012

    Posted 14 Aug 2013 Link to this post


    When connecting the base mysql, is generating exception with the information: "Unable to connect to any of the specified MySQL hosts. Telerik.OpenAccess.RT.sql.SQLException: Unable to connect to any of the specified MySQL hosts. Telerik.OpenAccess at . RT.Adonet2Generic.Impl.DBDriver.connect (ConnectionString connectionString, IDictionary driverProps, ConnectionPoolType poolType, LogEventStore feet) at OpenAccessRuntime.Relational.sql.SqlDriver.InitializeFor (ConnectionString connectionString, Boolean noConnect, PropertySet props, dbdriver & driver, Connection & conn, ConnectionPoolType poolType) "

    I have several services accessing the same database, but the number of connections are no more than 15 simultaneously.

    What can this be?
  2. Ady
    Admin
    Ady avatar
    588 posts

    Posted 14 Aug 2013 Link to this post

    Hello Vinicius,

     Can you try and connect using plain ADO.NET application, using a MySqlConnection? Do you still face the same problem?

    Regards,
    Ady
    Telerik
    OpenAccess ORM Q2 2013 brings you a more powerful code generation and a unique Bulk Operations support with LINQ syntax. Check out the list of new functionality and improvementsshipped with this release.

  3. DevCraft banner
  4. Vinicius
    Vinicius avatar
    3 posts
    Member since:
    May 2012

    Posted 14 Aug 2013 Link to this post

    I did not do this test, as this would result in many changes in my source code, as did all the mapping in OpenAccess.
    Would a simple way this be done? Something like a conversion of OpenAccess for simple ADO.NET.
  5. Ady
    Admin
    Ady avatar
    588 posts

    Posted 15 Aug 2013 Link to this post

    Hi Vinicius,

     What I meant is can you create a new console application and try to open a plain ADO.NET connection using the same connection string. I do not want you to modify your existing OpenAccess based application.

    Regards,
    Ady
    Telerik
    OpenAccess ORM Q2 2013 brings you a more powerful code generation and a unique Bulk Operations support with LINQ syntax. Check out the list of new functionality and improvementsshipped with this release.

Back to Top