MySQL & jdbc
Anselme
anselme at netcourrier.com
Tue May 13 00:57:19 PDT 2003
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 at netcourrier.com>
More information about the freebsd-database
mailing list