B4J Question Using jSQL on other PC

Am using xampp

I tried to connect to the server from another PC using this
Code:
    "jdbc:mysql://192.167.8.2/example?characterEncoding=utf8", "user", ""
But it seems not to be responding.
 
Last edited:
Upvote 0
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
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
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
Upvote 0
MAke sure to not disable networking in the MySQL ini
 
Upvote 0
Back
Top