Search found 11 matches

by nitinkapoor25
Sat Feb 21, 2009 6:32 am
Forum: Common Lisp
Topic: How to use clsql-sys:query in the function?
Replies: 2
Views: 5239

How to use clsql-sys:query in the function?

Hi, Can anyone help to "clsql-sys:query" in the function. I had done the below but got the error message. (defun output_query (clsql-sys:query "select * from article_master")) Error Message after compiling: -------------------------------------------- Execution of a form compiled...
by nitinkapoor25
Fri Feb 06, 2009 9:52 am
Forum: Common Lisp
Topic: How to insert data in MYSQL database from the Common LISP?
Replies: 2
Views: 5251

Re: How to insert data in MYSQL database from the Common LISP?

Thank brother...it is working for me :D
by nitinkapoor25
Thu Feb 05, 2009 11:00 am
Forum: Common Lisp
Topic: How to insert data in MYSQL database from the Common LISP?
Replies: 2
Views: 5251

How to insert data in MYSQL database from the Common LISP?

Hi, I have made the connection between MySQL and LISP. Below is the query that I run to insert the data in the database, but I got Error message. Query: (clsql-sys:query "insert into article_EAN (article_id, article_ean) values (123789, 147852)") Error Getting: Unhandled memory fault at #x...
by nitinkapoor25
Wed Jan 28, 2009 11:17 am
Forum: Common Lisp
Topic: How to connect LISP with Mysql database?
Replies: 7
Views: 16356

Re: How to connect LISP with Mysql database?

Thanks buddy, it is working now. I have installed "CLSQL - ODBC" and now I am able to compile the database.lisp file.

Thanks again

Nitin
by nitinkapoor25
Wed Jan 28, 2009 10:49 am
Forum: Common Lisp
Topic: How to connect LISP with Mysql database?
Replies: 7
Views: 16356

Re: How to connect LISP with Mysql database?

Buddy, you are absolutely right. CLSQL package not found when I compiled my code. I have used the code provided by you it is giving the below error message during compilation. It seems to me that error message are same during compilation: ---------------------- ; compiling file "/tmp/fileSDTLhv...
by nitinkapoor25
Tue Jan 27, 2009 12:05 pm
Forum: Common Lisp
Topic: How to connect LISP with Mysql database?
Replies: 7
Views: 16356

Re: How to connect LISP with Mysql database?

If I enter the below code in the REPL. It connects to mysql database successfully and also display the data. ----------------------------------------------- (push #P"/usr/share/common-lisp/systems/" asdf:*central-registry*) (asdf:operate 'asdf:load-op 'clsql) (clsql:connect '("" ...
by nitinkapoor25
Tue Jan 27, 2009 11:16 am
Forum: Common Lisp
Topic: How to connect LISP with Mysql database?
Replies: 7
Views: 16356

Re: How to connect LISP with Mysql database?

Hi, Below is the error message. ---------------------------------------------- The value NIL is not of type (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME STREAM). [Condition of type TYPE-ERROR] Restarts: 0: [ABORT] Return to SLIME's top level. 1: [TERMINATE-THREAD] Terminate this thread (...
by nitinkapoor25
Tue Jan 27, 2009 10:23 am
Forum: Common Lisp
Topic: How to connect LISP with Mysql database?
Replies: 7
Views: 16356

How to connect LISP with Mysql database?

Hi, I want to connect LISP with Mysql database. I am using the below mentioned code in the file database.lisp. When I compile and losd the file 'database.lisp', it is giving the error message. I already created the database and table in mysql. CODE: ------------------- (push #P"/usr/share/commo...
by nitinkapoor25
Thu Jan 15, 2009 11:33 am
Forum: Emacs
Topic: How to start programming in LISP
Replies: 6
Views: 20877

Re: How to start programming in LISP

Thanks for your reponse. I am using Ubuntu (Linux OS). I have already installed below mentioned software for lips: 1. EMACS GNU 2. SBCL 3. CL-SQL 4. Slime I am trying the file opening in emacs LISP with below mentioned code: (let ((in (open "/home/administrator/test.el"))) (format t "...