* Arunachalam
> Sent: Tuesday, January 13, 2004 10:39 PM
> To: mySQL List
> Subject: Re: mysql_init function issues :Connecting MySQL to COBOL
>
>
> I have somehow managed to create the datatype in COBOL matching
> to C datatype and passed as argument to mysql_init and
> mysql_real_connect.
>
> My COBOL coding seems to working fine, but it could not able to
> connect to MySQL and retrive Data. Instead it produce an error as;

When you say "somehow managed", what does that mean? Have you ever connected
to a mysql server with this code? Or is that what you are trying to do for
the first time?

>             Unknown MySQL Server Host '"Ìž' (11001)
>
> It seems that MySQL Server Host identified by C API function
> as '"Ìž'. I have given my MySQL server host nams as 'MySERVER'.

How do you call the function? There seems to be a problem related to the
parameters...

>     Is this error message means what i write above? or anything else?

I would guess there is something wrong with the way you pass the arguments
to the function... "Ìž could be binary data.

>     If so, How could I resolve this issue?

Change the first parameter or how you pass the parameters to the function.

--
Roger


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to