Software Archive
Read-only legacy content

Local and Online DataBase Connection

Fernando_G_
Beginner
469 Views

Hi guys.

I need to create an app to sends some information to mysql online database. The problem is that I can not get the emulation to connect to the bank.

How to do the app emulates in a localhost  database with xampp?

My XDK version: 3759

Thanks

0 Kudos
4 Replies
Diego_Calp
Valued Contributor I
469 Views

Hi Fernando,

What did you try until now?

Regards

Diego

0 Kudos
Fernando_G_
Beginner
469 Views

 Hi Diego,

 I try start a new project to conect in a data base online - and didn´t works.

After that, I start another project inside a xampp folder and using a local database, and didnt works too.

I would like to know if I need add some plugin to do that?

Regards.

Fernando (Brazil)

0 Kudos
Diego_Calp
Valued Contributor I
469 Views

Hi Fernando, 

It will help to know more details about how you try to connect to the database, perhaps you could share some lines of code?

Regards,

Diego

0 Kudos
Sam_Suresh
Beginner
469 Views

Fernando G. wrote:

 Hi Diego,

 I try start a new project to conect in a data base online - and didn´t works.

After that, I start another project inside a xampp folder and using a local database, and didnt works too.

I would like to know if I need add some plugin to do that?

Regards.

Fernando (Brazil)

You don't need a plugin to post data to MySQL.

I have tested and there is no issues to connect to an online or offline database.

Check your Javascript and serverside scripts are correct. You can use firebug/browser console to detect if there any errors.

Sam Suresh

0 Kudos
Reply