newLISP Fan Club

Forum => newLISP in the real world => Topic started by: Ryon on May 27, 2003, 11:10:47 AM

Title: mysql.lsp
Post by: Ryon on May 27, 2003, 11:10:47 AM
I'm having trouble running mysql.lsp. Please check me on this:



Changed (connect 0 "root" 0 "test") in the "test" routine to my host, user, password and database.

Upload to my /home/user/name.tld/newlisp/bin directory on commercial server.

Run newLISP from bin directory.



(load mysql.lsp)

   true

>



(context 'MySQL)

MySQL

MySQL>(test)

Invalid function :

(test)



Segmentation fault



;; Try it this way instead:



(MySQL:test)



databases:

Value expected in function +



>
Title:
Post by: Ryon on May 29, 2003, 05:23:04 PM
Found the problem! The password to the db was changed.



Zoom! This is fast!
Title: Typo
Post by: Ryon on May 29, 2003, 05:30:25 PM
I found a small typo in mysql.lsp. The third line from the bottom should be (close-db)) instead of (close)-db). No big deal.
Title:
Post by: Lutz on June 08, 2003, 05:10:29 PM
thanks, will be fixed - lutz