Problem with MySQL on remote server

3 posts, 0 answers
  1. Grzegorz Sawczuk
    Grzegorz Sawczuk avatar
    2 posts
    Member since:
    Jan 2010

    Posted 01 Aug 2011 Link to this post

    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. Grzegorz Sawczuk
    Grzegorz Sawczuk avatar
    2 posts
    Member since:
    Jan 2010

    Posted 04 Aug 2011 Link to this post

    Has anyone idea how can I resolve this problem? I'll be very grateful for any suggestions.

    Regards,
    Grzegorz
  3. DevCraft banner
  4. Ady
    Admin
    Ady avatar
    589 posts

    Posted 04 Aug 2011 Link to this post

    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. 
Back to Top