Android Tutorial Remote Database Connector (RDC) - Connect to any remote DB

Status
Not open for further replies.

tamayo461

Member
Licensed User
Longtime User
Hello, erel a question:
IF my MySql DB is housed in a rented as hosting the server start there ?, I guess I should run it where the BD hosted ...
 

edgsistemi

Member
Licensed User
Longtime User
Hi,

I would like to know if you can send the client the complete query

'SELECT ....'

Excuse the bad English
 

Ho Chia Leung

Member
Licensed User
Longtime User
Hi All,

First of all, thanks for the great tutorial! However I have some problem starting the service on my Linux VM. The below are my settings ( I only show those I've modified):

RunRLC.BAT
"\usr\bin\java\bin\java" -Xmx256m -cp .:libs\*:jdbc_driver\* anywheresoftware.b4a.remotedatabase.RemoteServer
pause

config.properties
DriverClass=oracle.jdbc.driver.OracleDriver
JdbcUrl=jdbcracle:thin//localhost:1521/orcl

In my Linux server I've tried to run RunRLC.BAT but nothing happen. Are there anything wrong with these settings?

Thank you!
 
Last edited:

scaira

New Member
Licensed User
Longtime User

The .bat wont work as it is Linux. At a terminal try running something like:
B4X:
java -Xmx256m -cp .:/PATH TO RDC/libs/*:/PATH TO RDC/jdbc_driver/* anywheresoftware.b4a.remotedatabase.RemoteServer
It seems the full path needs to be added to the libs and driver.

Also you will probably need this guide to get it started and stopping as a service.
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
HI
there is a way to send data and query (CRUD) to the server directly without using the string stored in the file?
thanks
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
ok Erel,
I did not understand what you mean by B4J, can you give me a link where to find example?
Thank You
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
I understand, but it takes so long to do it. There is a similar example to start with?
Thank You
 

achtrade

Active Member
Licensed User
Longtime User
I have my hosting with godaddy, I can't implement RDC with them, right ? if so, what would be my best solution to use my MySQL db with godaddy?
 

John Decowski

Member
Licensed User
Longtime User
i am curious, is this a safe method of data transmission. Is there any security threats here? Im a very light database user and Im wondering if someone could figure out full database access through app binary?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…