Page 1 of 1

MySql and Prepared

Posted: Wed 16 Dec 2009 20:14
by chkaufmann
Hi,

when I connect to certain MySQL servers, I get the error message "Prepare/UnPrepare is not supported by this MySQL server version." when I try to set Prepared := True.

It works fine when I don't set Prepared.

Shouldn't this be handled by UniDac, if a certain server doesn't support prepared statments?

And if not, is there an option / info in the connection, where I could get the info, if Prepared can be used or not?

cu Christian

Posted: Thu 17 Dec 2009 09:02
by Plash
You cannot get the infromation if Prepare can be used from UniDAC. We will change this behaviour in the next UniDAC build. So Prepare will be ignored if it is not supported.

Posted: Thu 17 Dec 2009 16:33
by Dimon
Please specify the exact MySQL server version you are using.

Posted: Sat 26 Dec 2009 14:55
by chkaufmann
I get the error message on a MySql 4.0.12 on a Linux machine.