Matt Christenson
Posts: 0
Joined: Thu Nov 08, 2012 4:58 pm

how to connect and query a MySql database

I am really trying to figure out the best way to connect to a MySql database and run query's. I am trying to set up the REST service, but I just cannot get it set up properly. I have tried to look for documentation on how to set this up, but I just cannot find any useful information. Any suggestions?
Thank you!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

how to connect and query a MySql database

Hello Matt!

You can connect to any data source available on the Internet as long as it’s exposed via REST API.
We recommend to use RestXpress http://www.exadel.com/restxpress

Paul Birch
Posts: 0
Joined: Mon Nov 11, 2013 10:06 pm

how to connect and query a MySql database

So does that mean that in order to use appery.io with an external mySQL database, we need to license and install RestXpress @ $2,500/year ?

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

how to connect and query a MySql database

That's one option..you do get 30 days trial. You can also use any other tool that will expose your database via REST APIs.

Corinne
Posts: 0
Joined: Thu Sep 19, 2013 2:43 pm

how to connect and query a MySql database

Im using Apperys rest services to connect to php scripts on my server. You cant connect directly with mysql.

I wont run JS on my server so php is a better option.

Works perfectly!!

Koning Voetbal
Posts: 0
Joined: Thu Feb 27, 2014 2:21 pm

how to connect and query a MySql database

Hi Corinne,

Can you give me a small example how to use Appery's Rest Service to connect to php?

I have a mysql database on our own server with a login system.

I want to build an app to connect to this database (a website version is already running for a few years).

As I understand you connect from Appery to a php file in which you goiive all the database query's. How to get this results to appery?

Any help would be appriciated!

Kind regards,

Arie

Return to “Issues”