Sunday 15 March 2015

Netbeans cannot connect to MySQL server that is on MAMP -


after adding all the correct information for Netbeans to connect to my MAMP (Port: 8889):

"Unable to connect to MySQL server:

org.netbeans.api.db.explorer.DatabaseException: org.netbeans.api.db.explorer.DatabaseException: Java.sql .SQLException: Null, Message from server: "Host '172.16.151.134' is not allowed to connect to this MySQL server."

The server can not run or your MySQL connection properties are set correctly Do you have your own MySQL connection properties Want to edit? "

After some research, I came to know that some users were able to solve this problem, only allow local connections on MAPP Pro, but I no longer have MAMP PRO MAMP does not have access and MAMP does not provide such a facility. Which files do I need to modify to allow Netbeans to connect to a MySQL server on a MAMP?

Under the MAMP, in the MySQL tab, uncheck "Allow only local access" below. Netbeans should connect to mysql.

No comments:

Post a Comment