B4J Question Using jSQL on other PC

Similar threads

B4J Code Snippet Opening MS Access databases (mdb)
B4J Tutorial SQL Tutorial
B4A Tutorial [B4X] SQL with Wait For
B4J Library [B4X] DBUtils 2
B4A Tutorial [B4X] OkHttpUtils2 with Wait For
B4J Tutorial DBUtils Example

Kope

Member
Licensed User
Am using xampp

I tried to connect to the server from another PC using this
B4X:
    "jdbc:mysql://192.167.8.2/example?characterEncoding=utf8", "user", ""
But it seems not to be responding.
 
Last edited:

Kope

Member
Licensed User
First step is to create a B4J program that runs on the same computer. Are you able to connect to the database?
Yes I have created a B4j program that runs on the same computer. Am able to connect to the database using “Localhost” in the JSQL.


How do I resolve the firewall issue. Please help. Am using Xampp.

Thank You
 

Enrique Gonzalez R

Well-Known Member
Licensed User
Yes I have created a B4j program that runs on the same computer. Am able to connect to the database using “Localhost” in the JSQL.


How do I resolve the firewall issue. Please help. Am using Xampp.

Thank You
keep in mind that by default mysql does not allow external communications beyond localhost, what you should do is enable it. also root user is not allowed to enter beyond localhost you have to give permissions to it also.
 

Kope

Member
Licensed User
keep in mind that by default mysql does not allow external communications beyond localhost, what you should do is enable it. also root user is not allowed to enter beyond localhost you have to give permissions to it also.
How do I go about it please
 
Top