MySQL & jdbc

Anselme anselme at netcourrier.com
Mon May 12 09:13:21 PDT 2003


On Mon, 2003-05-12 at 16:17, Tom Samplonius wrote:
>   When running mysql on the console, it will connect via a named pipe.
> The JDBC driver does not support named pipes, and must open a TCP/IP
> socket to localhost.
> 
>   A common problem is that the MySQL permission tables say "localhost",
> but 127.0.0.1 reverse resolves to "localhost.mydomain.com".  
> 
> 
> Tom
> 
> 
Yes, I found some things like that in my research on the web and I guess
that's the point, but how can I deal with it ? Because even if in the
table 'user' I put :

mysql> select * from user where user="user_name" \G
*************************** 1. row ***************************
           Host: localhost.mydomain.com
           User: user_name
       Password: 656b45b307f18ae4
    Select_priv: Y
    Insert_priv: Y
    Update_priv: Y
    Delete_priv: Y
    Create_priv: N
      Drop_priv: N
    Reload_priv: N
  Shutdown_priv: N
   Process_priv: N
      File_priv: N
     Grant_priv: N
References_priv: N
     Index_priv: N
     Alter_priv: N
1 row in set (0.00 sec)


it doesnot work :((

(I have done the "flush privileges")

???
-- 
Anselme <anselme at netcourrier.com>



More information about the freebsd-database mailing list