I'm using the mm.mysql JDBC Driver, and can log in just fine and select
from a table.  When I do it programmatically through Java I get:

Error during query: Unexpected Exception: java.sql.SQLException message
given: General error: select command denied to user: 'user@host' for table
'LOGSQLSTATEMENT'
java.sql.SQLException: Error during query: Unexpected Exception:
java.sql.SQLException message given: General error: select command denied
to user: 'user@host' for table 'LOGSQLSTATEMENT'

Any ideas?  I can log in via Java just fine on my own machine, on local
mysql, but when I go to my remote database it doesn't let me.  So it's not
just the driver.  I even did a grant all on my remote user and still
nothing.

Thanks,
Steve
--
                                                                          
 NOTICE:  This e-mail message and all attachments transmitted with it may 
 contain legally privileged and confidential information intended solely  
 for the use of the addressee.  If the reader of this message is not the  
 intended recipient, you are hereby notified that any reading,            
 dissemination, distribution, copying, or other use of this message or    
 its attachments, hyperlinks, or any other files of any kind is strictly  
 prohibited.  If you have received this message in error, please notify   
 the sender immediately by telephone (865-218-2000) or by a reply to this 
 electronic mail message and delete this message and all copies and       
 backups thereof.                                                         
                                                                          




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to