
As I said earlier I only used chr(0) just to try something else.
Is there any reason not to use the 3.5.1 ODBC connector ??
Having looked through mysql bug reports it looks like his hasn't been fixed and was first raised some time ago.
cheers
Code: Select all
#ODBC_ADD_DSN = 1
#ODBC_CONFIG_DSN = 2
#ODBC_REMOVE_DSN = 3
Result = SQLConfigDataSource_(0, #ODBC_ADD_DSN, "MySQL ODBC 5.1 driver", "DSN=mydsn;DESCRIPTION=MyDescription;SERVER=;PORT=3306;USER=root;PASSWORD=password;DATABASE=sample")