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

Problem with MySQL on remote server

2 Answers 80 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.
Grzegorz Sawczuk
Top achievements
Rank 1
Grzegorz Sawczuk asked on 01 Aug 2011, 08:44 PM
Welcome,
I'm trying first time use in my project OpenAccess ORM Free Edition. Application is using MySql database. During development, I'm trying to use database placed on remote machine, but unfortunately after first attempt to fetch any data from db via OpenAccess, I see error message, which is attached below. When I switched to database placed on localhost (the same development machine), then everything works correctly. Based on description to OpenAccess ORM, free edition should support MySQL.
Do you have any suggestions or recommendation, how can I resolve this problem, and connect to remote database via ORM?

Regards,
Grzegorz


Telerik.OpenAccess.Exceptions.LicensingException: 'Gentoo Linux mysql-5.0.90-r2' not supported by the Free edition of Telerik OpenAccess ORM.
To use this database download the unrestricted Trial edition from http://www.telerik.com/download.
   at OpenAccessRuntime.DataObjects.PersistenceManagerFactoryBase.LicenseError(String what, String cat)
   at OpenAccessRuntime.Relational.conn.RelationalConnectionPool.createRealCon()
   at OpenAccessRuntime.Relational.conn.RelationalConnectionPool.createRealConWithRetry(Int32 retryCountParam, Int32 millis, Int32 userId, Boolean bgThread)
   at OpenAccessRuntime.Relational.conn.RelationalConnectionPool.createPooledConnection(Int32 retryCountParam, Int32 retryIntervalMsParam, Int32 userId, Boolean bgThread)
   at OpenAccessRuntime.Relational.conn.RelationalConnectionPool.getConnection(Boolean highPriority, Boolean autoCommit, Int32 smId)
   at OpenAccessRuntime.Relational.RelationalStorageManager.obtainConnection(Boolean forWriting)

2 Answers, 1 is accepted

Sort by
0
Grzegorz Sawczuk
Top achievements
Rank 1
answered on 04 Aug 2011, 01:35 PM
Has anyone idea how can I resolve this problem? I'll be very grateful for any suggestions.

Regards,
Grzegorz
0
Ady
Telerik team
answered on 04 Aug 2011, 02:11 PM
Hello Grzegorz Sawczuk,

 The OpenAccess free edition supports all free databases including the MySql community server. To detect whether the server is a commercial or free version we execute the following query against the mysql database - 'select @@version_comment' . We check for the 'community'  version comment in the returned value.
It seems that you have mysql installed on a linux machine and hence the version returned is - Gentoo Linux mysql-5.0.90-r2. This is treated as a commercial version of MySql and hence you get the exception.

Hope this clarifies things a bit.

Best wishes,
Ady
the Telerik team
Want to use Telerik OpenAccess with SQL Azure? Download the trial version today. 
Tags
Data Access Free Edition
Asked by
Grzegorz Sawczuk
Top achievements
Rank 1
Answers by
Grzegorz Sawczuk
Top achievements
Rank 1
Ady
Telerik team
Share this question
or