"jdbc:mysql://126.96.36.199/example?characterEncoding=utf8", "user", ""
Thanks for this but wasn’t able to serve my questionCheck this post from StackOverflow, you will have to configure the firewall and allow access to your port
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.First step is to create a B4J program that runs on the same computer. Are you able to connect to the database?
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.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.
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '@password' WITH GRANT OPTION;