Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Cannot connect to MS SQL Instance from Rest API

Hello,

Actually, we don't have such functionality (select an instanse of the database), but we are working on it. It will be done in the one of our next releases.

leven.steve
Posts: 0
Joined: Sun Mar 04, 2012 4:01 pm

Cannot connect to MS SQL Instance from Rest API

I was going to try this out over the weekend but there's no point if I cannot get to an instance. Any timescales on which release / when we can expect this Sergiy?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Cannot connect to MS SQL Instance from Rest API

Steve, I am currently using Dreamfactory to connect to various SQL databases, It works fine however you would need to have your own server on which you would need to install the stack.

Dreamfactory now charges for MS SQL connector ($10000 pa). MySQL and other db connectors are still free. So you would have to use an older version ie.V1.9

It works fine though but the the fact that they offered MS SQL connection for free initially and then started charging really sucks (Especially jumping from $0 to $10000).

That is the reason I wanted to use Appery's REST API. However this is not a viable option either as latency to the Appery server causes a massive delay in data access time (Tested to MySQL) and obviously the fact that you cant even connect to MS SQL (The connection to SQL Azure works though)

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Cannot connect to MS SQL Instance from Rest API

Please can you also reply regarding network latency issues. Is there a way around this. The optimal would be to have the REST API as part of the app and not as a Server Side (Middleware) option as this is a huge bottleneck. Don't know if that is possible.

Even better would be to have drivers that allow connection directly to any db, like most development IDE's that are available.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Cannot connect to MS SQL Instance from Rest API

The only one way to connect to the remote database is API Express. It could be possible to connect to the remote database with some Cordova plugin directly from the app, but we don't have such example, please search online for appropriate solution.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Cannot connect to MS SQL Instance from Rest API

Thanks. Could you please answer the actual question of why I cant connect to a Named MS SQL instance via your API Express as well please.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Cannot connect to MS SQL Instance from Rest API

API Express doesn't support connecting to a Named MS SQL instance today. This is something API Express will support in the future.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Cannot connect to MS SQL Instance from Rest API

Well, quite honestly you need to remove MS SQL from the list as 99% of MS SQL databases run of named instances.

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Cannot connect to MS SQL Instance from Rest API

Hello everybody,

This is to let you know that today, API Express supports connecting to a Named MS SQL instance.
To do it, you need to define the instance under the Connection properties for the particular Database connection.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Cannot connect to MS SQL Instance from Rest API

Thank you.

Return to “Issues”