Tamir Rafael and Efim Koreban wrote:
>
> Hello
>
> When I use :
>
> mysql -u user -p pass === ok
> mysql -h localhost -u user -p pass ===> doesn't work
>
> How can I solve these?
>
Try using mysql -h localhost.technion.ac.il -u user -p
or whatever your domain is. If that works then your system doesn't
recognize localhost as localhost.do.main
Also take a look at the user table in the mysql db. See if the host for
user is empty or not.
jim...
PS. It helps alot to include the precise message when reporting an
error.