3 messages in com.mysql.lists.mysqlError Codes
FromSent OnAttachments
Jenny Christy16 Jul 2002 22:33 
Jenny Christy17 Jul 2002 06:15 
denonymous17 Jul 2002 06:49 
Subject:Error Codes
From:Jenny Christy (jenn@yahoo.com)
Date:07/16/2002 10:33:16 PM
List:com.mysql.lists.mysql

Hello All,

I m using linux with mysql server.

I wud like to print the correct error message if any error occur while we r communicating with server eg. access denied, connection failure, no data is available , table does not exits, duplicate data etc.

How can i see the return error code value and which file contains all these error codes??

I m using function SQLGetDiagRec() to see the error messages, Can i use the same for error code?

Thx in advance, Rgds, Jenny