Try putting the port in the port parameter of the API, rather than in the
host string. I.E.
See http://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html for
By the way this is a mailing list for MySql++, not for the MySql C API. If
you need any more help with the C API you'd be better off trying the general
MySql mailing list at http://lists.mysql.com/ .
From: atul lokare [mailto:lokare_atul@stripped]
Sent: 28 June 2006 10:39
Subject: mysql_real_connect - problem
actually i'm using "mysql_real_connect" this api to connect to server in
network but unable to get connected.
The server name is "comp07". i tried it with server ip-address with possible
so any one can solve my problem. waiting for urgent reply