If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Short Login Names

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-03-10, 15:36
MooseJuice MooseJuice is offline
Registered User
 
Join Date: Mar 2010
Posts: 2
Short Login Names

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

converts the username: imtheuser1

into: intheuser1@myremotehostname.com

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!)
Reply With Quote
  #2 (permalink)  
Old 03-04-10, 03:21
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 8,763
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 my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 03-04-10, 09:50
MooseJuice MooseJuice is offline
Registered User
 
Join Date: Mar 2010
Posts: 2
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On