Jens, thought I could help-out by doing a bit of debugging with my mysql, but this syntax works perfectly for me:

Code:

break on

$dsn = "DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=phone;USER=root;PASSWORD=******;option=3"
$sql = "SELECT Name FROM Business WHERE Name = 'Shawn'"

$rows = DBCommand($dsn, $sql)

? @SERROR

?"VarTypeName=" VarTypeName($rows)

exit 0



Get this:

Quote:


E:\>kix32 t

The operation completed successfully.
VarTypeName=Variant[]





So, this might be some kind of weird issue with his instance.

-Shawn