**No in any case**

----- Original Message ----- 
From: "Dheeraj Anand" <[EMAIL PROTECTED]>
To: "Linux India" <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 5:56 AM
Subject: Re: [LIH] mysql unix port






In any case MySql Port number is 3306

Dheeraj

----- Original Message -----
From: Arvind <[EMAIL PROTECTED]>
To: Linux India <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 2:33 PM
Subject: [LIH] mysql unix port


> mysql_real_connect MYSQL *mysql, const char *host, const char *user, 
const
> char *passwd, const char *db, unsigned int port, const char 
*unix_socket,
> unsigned int client_flag)
>
> unix_socket: The seventh parameter is the Unix socket number. We will 
pass
> NULL to indicate that we don't require a special Unix socket.
>
> this is what the documentation says.
> i am on a win machine and i am using VC++ to connect to the mysql on 
my
> linux box.
>
> what should i give as my unix_socket value?
>
> each time i try to connect
> mysql_real_connect
>
> fails and says
> "Error connecting to 192.168.5.10"
>
> but, if i use the API, that has also been included with the mysql++, 
i can
> connect properly.
>
> arvind
>
>
>
>
>
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help










_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to