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

Venu <[email protected]>
Newsgroups gmane.comp.db.mysql.bugs
Organization MySQL AB
Message-ID <[email protected]>
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
[email protected] unless its repeatable, in this case you have posted
this to Connector/ODBC list [email protected].

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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.