469,622 Members | 2,163 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,622 developers. It's quick & easy.

About SQLState ...

Hi,

I am using MyODBC 3.51.06 on solaris.

When a ODBC call fails to execute due to communication problems with
database server, according to ODBC reference, sqlstate should be set
to 08S01
(Communication link failure). But myodbc driver is setting it to
HY000 in case of communication errors.

1. When mysqld is stopped while performing a query, myodbc returns
native error 2013 and error text - Lost connection to MySQL server
during query. But SQLState
as HY000.

2. When mysqld is not running, myodbc returns native error 2006 and
error text - MySQL server has gone away. But SQLState as HY000.
Is this a bug or am I missing something ?

Thanks in advance,
Srinivas.
Jul 19 '05 #1
0 1412

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Srinivas B.S.S | last post: by
5 posts views Thread by Jean-Marc Blaise | last post: by
3 posts views Thread by Jason Gyetko | last post: by
1 post views Thread by xf wang via DBMonster.com | last post: by
8 posts views Thread by Suresh | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.