IBM工作灯SQL适配器真实设备 [英] IBM Worklight SQL adapter for real device

查看:134
本文介绍了IBM工作灯SQL适配器真实设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用本地数据库,MySQL的说,它可以完美运行在模拟器和仿真器,但真正的设备,本地主机不会做,所以我尝试在线数据库托管。

If i use local database, say MySQL, it works perfect on simulator and emulator but for real device, localhost won't do, So i tried online database hosting.

在使用网上从www.freemysqlhosting.net托管,我使用提供的ID和密码设置了数据库在Eclipse我的数据库发展的角度看,这样它被连接到我的模拟器,模拟器和真实设备运行良好同一网络系统上该数据库是建立,但对于任何匿名的设备,它失败了!

When using online hosting from www.freemysqlhosting.net, i had setup the database in my database development perspective in Eclipse using the provided id and password, so it worked well on my simulator, emulator and real device that was connected to the same network as that system on which that database was setup, but for any anonymous device,it failed!

然后我试图与sqllite,再次将其与模拟器和仿真工作,但真正的设备,这表明UNRESPONSIVE_HOST错误。

Then i tried with sqllite, again it worked with simulator and emulator but for real device,it showed UNRESPONSIVE_HOST error.

我的问题是:如果我想开发使用IBM工作灯使用某些数据库应用程序,并要分发它,我怎么能做到这一点。

My question is: if i want to develop an app using IBM Worklight that uses some database and want to distribute it, how can i do it?

推荐答案

您问题不在于它是与设备和工作灯服务器之间的连接SQL服务器。你需要能够从设备连接到服务器的工作灯。在设备上打开浏览器,并指向工作灯控制台,并看到可以访问它。

Your problem is not with the SQL server it is with the connection between the device and the Worklight server. You need to be able to connect from the device to the Worklight server. Open a browser on the device and point it to the Worklight console and see that you can access it.

这篇关于IBM工作灯SQL适配器真实设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆