Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2010

    Unanswered: Short Login Names

    the JDBC connection
    String DRIVER = "com.mysql.jdbc.Driver";

    converts the username: imtheuser1


    and then denies that user access to the database! How do I prevent JDBC elongating the username? Because it should work if it doesn't do that. (And I can't add the hostname to my login because I'm on a dynamic ip allocation, so it changes every time I restart my connection!)

  2. #2
    Join Date
    Nov 2004
    out on a limb
    Provided Answers: 59
    consider asking this question in a JAVA forum, as its a JAVA issue not a MySQL issue
    or consider GRANTing permissions to that user from any host
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Mar 2010
    It's not a Java issue.

    It's a mysql host-based authentication issue. It would be useful if it was possible to grant access on a domain name basis. I get the impression that mysql host access really means host.domain or anyhost.anydomain and that could clearly be improved upon.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts