Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

localhost fix for mySQL JDBC driver UNIX
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.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[6,567 views]  

localhost fix for mySQL JDBC driver | 0 comments | Create New Account
Click here to return to the 'localhost fix for mySQL JDBC driver' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.