Page 1 of 1

mysql.lsp

PostPosted: Tue May 27, 2003 6:10 pm
by Ryon
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 +

>

PostPosted: Fri May 30, 2003 12:23 am
by Ryon
Found the problem! The password to the db was changed.

Zoom! This is fast!

Typo

PostPosted: Fri May 30, 2003 12:30 am
by Ryon
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.

PostPosted: Mon Jun 09, 2003 12:10 am
by Lutz
thanks, will be fixed - lutz