mysql.lsp

Q&A's, tips, howto's
Post Reply
Ryon
Posts: 248
Joined: Thu Sep 26, 2002 12:57 am

mysql.lsp

Post 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 +

>

Ryon
Posts: 248
Joined: Thu Sep 26, 2002 12:57 am

Post by Ryon »

Found the problem! The password to the db was changed.

Zoom! This is fast!

Ryon
Posts: 248
Joined: Thu Sep 26, 2002 12:57 am

Typo

Post 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.

Lutz
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

thanks, will be fixed - lutz

Post Reply