Last Query is
LastQuery "SELECT * FROM `customer` WHERE (`ModusCustomerID` = ?ModusCustomerID1 )" String
I changed the line
cust.es.Connection.ConnectionString = MySQLDal.Global.GetModus21Connectionstring
to
cust.es.Connection.Name = "Modus"
But we still get the same error message.
Edit: I ran the Last Query in my MySQL Query Browser, replacing ?ModusCustomerID with one of our CustomerIDs and the query ran without issue.