Telerik OpenAccess DataAccess ORM - Cannot connect with MySQL

0 Answers 550 Views
Miscellaneous
Aron
Top achievements
Rank 2
Aron asked on 23 Jun 2021, 12:58 PM

Hi,

I know this product is retired since long ago.

But in our 10 years old legacy code, we have now requirement to migrate few tables in MySQL from SQL server. This old code is using Telerik.OpenAccess Nuget version 2016.2.822.1 and there is complex business logic written using it.

It is hard to change that bulk of code to use Entity Framework, so we thought to use My SQL connector with Telerik ORM as explained here https://docs.telerik.com/data-access/developers-guide/database-specifics/database-specifics-mysql-overview

I've everything setup as per the Article above. But when I run this code, it throws error which says Connection option 'datasource' is duplicated.

The connection string is perfectly fine and nothing duplicated in it: DataSource=127.0.0.1;port=3306;database=dbname;user=root;password=******

In fact, anything I change in connection string, it complains with same kind of error. For example Server=127.0.0.1;port=3306;database=dbname;user=root;password=******

It shows Connection option 'Server' is duplicated.

Kindly please help if you have used Telerik ORM with MySQL previously.

Aron
Top achievements
Rank 2
commented on 02 Jul 2021, 04:47 PM

bump
Joshua Kent
Top achievements
Rank 1
commented on 16 Jan 2022, 03:08 AM

Did you ever figure this out? I am having the same issue...

No answers yet. Maybe you can help?

Tags
Miscellaneous
Asked by
Aron
Top achievements
Rank 2
Share this question
or