This is a migrated thread and some comments may be shown as answers.

constant error

3 Answers 19 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vinicius
Top achievements
Rank 1
Vinicius asked on 14 Aug 2013, 12:33 PM

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?

3 Answers, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 14 Aug 2013, 09:21 PM
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.

0
Vinicius
Top achievements
Rank 1
answered on 14 Aug 2013, 10:18 PM
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.
0
Ady
Telerik team
answered on 15 Aug 2013, 03:05 PM
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.

Tags
Data Access Free Edition
Asked by
Vinicius
Top achievements
Rank 1
Answers by
Ady
Telerik team
Vinicius
Top achievements
Rank 1
Share this question
or