[NBLUG/talk] MySql/JDBC connnectivity issue.

Mitch Patenaude mrp at sonic.net
Tue May 20 20:16:00 PDT 2003


I can connect to a MySQL database with my test user using the command 
line tools, but when I use the Connector/J JDBC driver to (attempt) to 
connect to a database.  I'm getting refused connections that look like:

mrp at calisto explorer]$ java testGrid
Connect URL = jdbc:mysql://localhost/trackpoints?user=test&password=test
java.sql.SQLException: Invalid authorization specification: Access 
denied for user: 'test at localhost.localdomain' (Using password: YES)

(username/password changed in output, but the principal is there.)

After a google search, it appears that I need to add permissions TCP 
connections (the command line tool uses a named pipe).  But I can't 
seem to find how to do this.  Can anybody help?




More information about the talk mailing list