DS Connect to MySQL

322 views
Skip to first unread message

Joelon bitmal

unread,
Nov 17, 2015, 10:16:42 PM11/17/15
to DroidScript
is it possible to connect to MySQL?, im developing a barcode scanner where i can scan my product and check it on the database from MySQL.

Chris

unread,
Nov 17, 2015, 11:13:01 PM11/17/15
to DroidScript
DroidScript at this point can not connect to a MySQL server.

It would be very possible to write a java DS plugin using JDBC and the SQL library to connect / query / etc...


Joelon bitmal

unread,
Nov 17, 2015, 11:25:25 PM11/17/15
to DroidScript
so the only solution is to use HTTP Get?

Chris

unread,
Nov 17, 2015, 11:33:47 PM11/17/15
to DroidScript
Obviously you can use a server side language like php to be the go between.

BE very careful with security if your server is public.

ansari_abdullah

unread,
Jan 7, 2017, 4:03:50 AM1/7/17
to DroidScript
How to use HTTP GET, i only wanna connect and retrieve data from  Droid Script app.

Steve Garman

unread,
Jan 7, 2017, 6:38:37 AM1/7/17
to DroidScript
You can use XMLHttpRequest with "GET" or "POST" if the database has forms that allow access to the database or if you are able to create such forms on the server.

Ev. rodrigo dos santos

unread,
Jan 7, 2017, 3:29:45 PM1/7/17
to DroidScript
I was able to make an application here of test, using external mysql and DS, soon I will do a detailed tutorial.

Steve Garman

unread,
Jan 7, 2017, 11:30:49 PM1/7/17
to DroidScript
That would be very useful. Thanks.

John Constatine

unread,
Jan 10, 2017, 4:06:44 AM1/10/17
to DroidScript
Reply all
Reply to author
Forward
0 new messages