Skip site navigation (1)Skip section navigation (2)
Date:      13 May 2003 09:55:19 +0200
From:      Anselme <anselme@netcourrier.com>
To:        Roberto Nunnari <nunnari@die.supsi.ch>
Cc:        freebsd-database <freebsd-database@freebsd.org>
Subject:   Re: MySQL & jdbc
Message-ID:  <1052812518.268.12.camel@Toto.dippgw.homedns.org>
In-Reply-To: <3EBFCC9A.2060209@die.supsi.ch>
References:  <Pine.BSF.4.05.10305120714480.2996-100000@misery.sdf.com> <1052755886.1898.7.camel@Toto.dippgw.homedns.org> <3EBFCC9A.2060209@die.supsi.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2003-05-12 at 18:32, Roberto Nunnari wrote:
> in my /etc/hosts file I have the following lines regarding localhost:
> 
> ::1                     localhost localhost.my.domain
> 127.0.0.1               localhost localhost.my.domain
> 

ok, I had :
127.0.0.1	localhost.my.domain localhost

so I tryed :
127.0.0.1	localhost  localhost.mydomain

and even :
127.0.0.1	localhost

but it still doesnot work ... 

do I need to reboot or something if I want the system take in charge the
new /etc/hosts ?

In MySQL, everything is allright :

mysql> select host, user, password from user where user='anselme' ;
+-----------+-----------+------------------+
| host      | user      | password         |
+-----------+-----------+------------------+
| localhost | anselme   | 656b45b307f18ae4 |
+-----------+-----------+------------------+
1 row in set (0.00 sec)

> and
> mysql> use mysql
> mysql> select host, user, password from user;
> 
> reports:¨
> +----------------+------------+------------------+
> | host           | user       | password         |
> +----------------+------------+------------------+
> | localhost      | salathe    | mycryptedpassword |
> +----------------+------------+------------------+
> 11 rows in set (0.02 sec)
> 
> 
> regards.
> 
> 

-- 
Anselme <anselme@netcourrier.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1052812518.268.12.camel>