On his excellent MySQL for OS X page, Marc Liyanage offers up some sample code for testing MySQL with JDBC.
It's a good simple example, but unfortunately it's unlikely to work, because of modifications that must be made to the permissions table in MySQL.
The README that comes with the mm.Mysql driver suggests that granting permissions for user@locahost will solve the problem, but unfortunately, OS X does not seem to resolve "localhost" in many instances. This seems to be one of them.
The answer is posted on the sourceforge forums; I'm providing a link because the solution wasn't mine to offer. I just happened to find it on the 'net and thought it should be on the OS X Hints site too.
It's a good simple example, but unfortunately it's unlikely to work, because of modifications that must be made to the permissions table in MySQL.
The README that comes with the mm.Mysql driver suggests that granting permissions for user@locahost will solve the problem, but unfortunately, OS X does not seem to resolve "localhost" in many instances. This seems to be one of them.
The answer is posted on the sourceforge forums; I'm providing a link because the solution wasn't mine to offer. I just happened to find it on the 'net and thought it should be on the OS X Hints site too.
•
[6,745 views]

