MyODBC error when trying to open a connection with an inexistent server...

MyODBC error when trying to open a connection with an inexistent server...

am 08.08.2003 18:12:29 von Luis Ferro

Hi there,

I've a server and connect to it thru MyODBC, the production version.
When i try to open the production server (which isn't present in the
development environment that i use), MyODBC generates an error to the
console.

I've set up VB to handle the errors, so i don't think the error handling
of myodbc is behaving corectly... The expected result would be for
MyODBC to raise an error only (and not as it is doing now, show a msgbox
with the error).

Cheers,
Luis Ferro
Teladigital.Net


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: MyODBC error when trying to open a connection with an inexistent server...

am 08.08.2003 19:52:38 von Venu

On Fri, 2003-08-08 at 09:12, Luis Ferro wrote:
> Hi there,
>
> I've a server and connect to it thru MyODBC, the production version.
> When i try to open the production server (which isn't present in the
> development environment that i use), MyODBC generates an error to the
> console.
>
> I've set up VB to handle the errors, so i don't think the error handling
> of myodbc is behaving corectly... The expected result would be for
> MyODBC to raise an error only (and not as it is doing now, show a msgbox
> with the error).

Driver will not show anything in MsgBox format, but its up to programmer
to design accordingly.

In case of ADO connection, and if an error occurs, you can make driver
to prompt the DSN dialog along with error message, by following the
instructions from the following KB...

http://support.microsoft.com/default.aspx?kbid=193128

NOTE; as this is not a bug, you shouldn't post any messages to
bugs@lists.mysql.com unless its repeatable, in this case you have posted
this to Connector/ODBC list myodbc@lists.mysql.com.

Thanks


--
Venu, Software Developer
Palo Alto, CA, USA
MySQL Inc, http://www.mysql.com


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org