List:General Discussion« Previous MessageNext Message »
From:Gelu Gogancea Date:March 14 2003 9:12pm
Subject:Re: forcing mysql client to use TCP socket?
View as plain text  
Hi,
I think you have at least two ways:
1.To put the corect path to the sock file, in my.cnf configuration file.
2.To find where MySQL daemon create this file and add the argument -S  to
the mysql client application.

Regards,

Gelu
_____________________________________________________
G.NET SOFTWARE COMPANY

Permanent e-mail address : gg@stripped
                                          gelugogancea@stripped
----- Original Message -----
From: "Murad Nayal" <mn216@stripped>
Cc: <mysql@stripped>
Sent: Friday, March 14, 2003 10:42 PM
Subject: forcing mysql client to use TCP socket?


>
>
> Hello,
>
> how can I force mysql interactive client (actually the client library as
> well) to use a TCP port on the local host
>
> if I do:
>
> mysql -h localhost -u user -p --port=2000
>
> I get:
>
> ERROR 2002: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock'
>
> what might be a problem is: it seems, for reasons I don't entirely
> understand possibly related to the network configuration on this node, I
> need to use the name 'localhost' rather than the actual name of the
> node!
>
> thanks in advance for the help
>
> Murad
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <mysql-thread134770@stripped>
> To unsubscribe, e-mail <mysql-unsubscribe-ggelu=arctic.ro@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>

Thread
Remote AdministrationC. Reeve14 Mar
  • Re: Remote AdministrationBrian McCain14 Mar
  • forcing mysql client to use TCP socket?Murad Nayal14 Mar
    • Re: forcing mysql client to use TCP socket?Dan Nelson14 Mar
  • Re: forcing mysql client to use TCP socket?gerald_clark14 Mar
  • Re: forcing mysql client to use TCP socket?Gelu Gogancea14 Mar
  • Re: forcing mysql client to use TCP socket?Murad Nayal15 Mar