How to access another computer mysql database in my computer(which is 50km away)using java
My Friend needs to access my MySQL database remotely using his java program,he has completed all coding but wen we try to connect with IP and correct user name,password,i have disabled my firewall and enabled dmz in my router to open all ports,Still wen tries to communicate,its says communication link failure,there is no permission to access this mysql server. This is the error: java.sql.SQLException: null, message from server: "Host '184.108.40.206' is not allowed to connect to this MySQL server"
The error you received is indication that MySql is blocking the connection. MySql by default will not allow one to connect from a remote machine. You must explicitly grant access for your friend to connect remotely. Typically you would grant to a user#hostname, but you may substitute % for hostname. The downside of this is that it would open it up for anyone using the username (and the password you specify) to connect from anywhere, but eliminates the issues around dynamic IP addressing or NATed networks. For more information see MySql documentation on access control and GRANT command.
uniquely identifying each test invocation in testng
How to use TLS 1.2 in Java 6
libGDX makes screen smaller [Ubuntu]
Angular Working with object: Fix it
URL encoding of “&”
Camel JDBC Route - CamelJdbcRowCount missing
ReeantrantLock and Condition variable
How to Display Help In Wizard's Tray
Retrieve view in OnClickListener
How do I let a user interrupt an endless loop in Java?
Cannot take picture or choose image from gallery
How do you use PrintJobInfo.Builder where I can setCopies in android.print?
remove termination symbol from xml
Putting unique random number in array
Android SQL database organization [closed]
How to resolv: java.sql.SQLException: setDate, Exception = Invalid year value