Connect to Database
Posted by: Vit Coufal
Date: January 07, 2005 09:14AM

Hi there,
I have the following issue.
I connect to Server Version 3.22.32 for the first time -> everything is ok
Then I connect a second time and get the following Error
Eine nicht behandelte Ausnahme des Typs 'MySql.Data.MySqlClient.MySqlException' ist in aufgetreten.

Zusätzliche Informationen: Unknown command

I guess a translation to english would something like
A non handled exeption occured of type 'MySql.Data.MySqlClient.MySqlException' occured in

additional information: Unknown command

I use the following code connecting to DB.

Private Sub connect_mysql()
'Me.dbconnMYSQL.ConnectionString = "Database=testdb;Data Source=;User Id=xxx;Password=xxx;CharSet=latin1"
End Sub

Now something that confuses me completly. I have a second Server running mysql Version 4.0.20. Using exactly the same code for connecting and disconnecting works fine!!
Does anyone has an idea? Don't tell me using the second server. That is impossible for now.

Cheers folks


Options: ReplyQuote

Written By
Connect to Database
January 07, 2005 09:14AM
January 07, 2005 10:11AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.