B4J Question Using jSQL on other PC

Kope

Active 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:
Upvote 0

Kope

Active 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
 
Upvote 0

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime 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.
 
Upvote 0

Kope

Active 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
 
Upvote 0

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…