From owner-freebsd-database@FreeBSD.ORG Tue May 13 00:57:19 2003 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5632137B401 for ; Tue, 13 May 2003 00:57:19 -0700 (PDT) Received: from mailhub5.isdnet.net (mailhub5.isdnet.net [195.154.209.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAD3743F3F for ; Tue, 13 May 2003 00:57:17 -0700 (PDT) (envelope-from anselme@netcourrier.com) Received: from [192.168.1.113] (ppp1494-cwdsl.fr.cw.net [62.210.117.217]) by mailhub5.isdnet.net (8.9.3p2/8.9.3) with ESMTP id JAA65886; Tue, 13 May 2003 09:56:56 +0200 (CEST) From: Anselme To: Roberto Nunnari In-Reply-To: <3EBFCC9A.2060209@die.supsi.ch> References: <1052755886.1898.7.camel@Toto.dippgw.homedns.org> <3EBFCC9A.2060209@die.supsi.ch> Content-Type: text/plain; charset=ISO-8859-1 Organization: Message-Id: <1052812518.268.12.camel@Toto.dippgw.homedns.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 13 May 2003 09:55:19 +0200 Content-Transfer-Encoding: 8bit cc: freebsd-database Subject: Re: MySQL & jdbc X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 07:57:19 -0000 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