mysql.lsp

Q&A's, tips, howto's

mysql.lsp

Postby Ryon » Tue May 27, 2003 6:10 pm

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

Postby Ryon » Fri May 30, 2003 12:23 am

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

Postby Ryon » Fri May 30, 2003 12:30 am

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.
Ryon
 
Posts: 248
Joined: Thu Sep 26, 2002 12:57 am

Postby Lutz » Mon Jun 09, 2003 12:10 am

thanks, will be fixed - lutz
Lutz
 
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California


Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 2 guests