AndrewMozley
Programmer
(A continuation of a Dec 2011 thread)
I would like to read some records from a MySQL database. I have MySQL 5.5 installed, and also the MySQL workbench.
If I go into the WorkBench I can see that there is a server (I believe) called Local MySQL. Within that there is a schema defined Trakker4_operations and within that, a table operations_parts
Perhaps optimistically, I have written this code :
lConnect = SQLCONNECT("trakker4_operations")
SQLEXEC(lConnect,"SELECT * FROM operations_parts")
However, the SQLCONNECT function call fails (returning -1). I feel that I need to provide different parameters to the function call. Do I e.g. have to tell SQLCONNECT that it needs to use a MySQK driver, and if so. how. Grateful for any guidance.
Andrew
I would like to read some records from a MySQL database. I have MySQL 5.5 installed, and also the MySQL workbench.
If I go into the WorkBench I can see that there is a server (I believe) called Local MySQL. Within that there is a schema defined Trakker4_operations and within that, a table operations_parts
Perhaps optimistically, I have written this code :
lConnect = SQLCONNECT("trakker4_operations")
SQLEXEC(lConnect,"SELECT * FROM operations_parts")
However, the SQLCONNECT function call fails (returning -1). I feel that I need to provide different parameters to the function call. Do I e.g. have to tell SQLCONNECT that it needs to use a MySQK driver, and if so. how. Grateful for any guidance.
Andrew