mysql.lsp

Started by Ryon, May 27, 2003, 11:10:47 AM

Previous topic - Next topic

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 +



>
\"Give me a Kaypro 64 and a dial tone, and I can do anything!\"

Ryon

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



Zoom! This is fast!
\"Give me a Kaypro 64 and a dial tone, and I can do anything!\"

Ryon

#2
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.
\"Give me a Kaypro 64 and a dial tone, and I can do anything!\"

Lutz

#3
thanks, will be fixed - lutz