MySQL Read Only?

Started by Dave, June 01, 2003, 11:01:31 AM

Previous topic - Next topic

Dave

There are no newlisp functions to write to a MySQL database. It is read only. Are you going to add these soon? It would be useful.

Lutz

#1
Sorry for not answering earlier (I was on a trip). Look into the file 'mysql.lsp' in the newlisp source distribution. It gives you function definitions and examples on how to interact read/write with a MySQL database.



Lutz

Dave

#2
I have mysql.lsp v1.3 with 16 definitions to initialize navigate query and close, but not write data to database.

Lutz

#3
look at the bottom of the file, where a function 'test' is defined. Updates and inserts are done using SQL in the 'query' function. 'query' is probably a misnomer, perhaps it should be renamed to 'sql'.



Lutz