Search found 7 matches

by erazer
Thu Dec 16, 2010 2:42 am
Forum: Common Lisp
Topic: SBCL & MySQL (clsql, cffi)
Replies: 13
Views: 11422

Re: SBCL & MySQL (clsql, cffi)

hoooh!...

I'm just going crazy. It was a some strange problem with mysql server.

Everything is works fine now.

Thanks to everybody very much!
by erazer
Wed Dec 15, 2010 1:29 pm
Forum: Common Lisp
Topic: SBCL & MySQL (clsql, cffi)
Replies: 13
Views: 11422

Re: SBCL & MySQL (clsql, cffi)

The documentation on the very page you linked appears reasonably clear. What is it that you don't understand about it? I'm just absolutely fool in Lisp. C++, c, php etc. - this is with I'm working. This is 2nd day I'm trying to be a friends with Lisp :) What about I don't understand - I'm just need...
by erazer
Wed Dec 15, 2010 12:58 pm
Forum: Common Lisp
Topic: SBCL & MySQL (clsql, cffi)
Replies: 13
Views: 11422

Re: SBCL & MySQL (clsql, cffi)

thank you but this is for clsql as I have fail with clsql connection (see firs message) I have installed cl-mysql (from http://www.hackinghat.com/index.php/cl-mysql ) and now trying to get it work. I can connect to DB via cl-mysql (cl-mysql:connect :host "localhost" :database "dbname&...
by erazer
Wed Dec 15, 2010 8:26 am
Forum: Common Lisp
Topic: SBCL & MySQL (clsql, cffi)
Replies: 13
Views: 11422

Re: SBCL & MySQL (clsql, cffi)

I did it...

(cl-mysql:connect :host "localhost" :database "dbname" :user "root" :password "password")
(cl-mysql:query "select * from status limit 10" :store nil)

But how to get the result?...
by erazer
Wed Dec 15, 2010 7:50 am
Forum: Common Lisp
Topic: SBCL & MySQL (clsql, cffi)
Replies: 13
Views: 11422

Re: SBCL & MySQL (clsql, cffi)

Thank you. I just tried to use quicklisp now. So... I have deinstalled BSCL at all and install it again. Then I use quicklisp to install cl-mysql Then I try to connect to mysql server: (cl-mysql:connect "127.0.0.1" "dbname" "root" "password") And what it says ...
by erazer
Wed Dec 15, 2010 6:03 am
Forum: Common Lisp
Topic: SBCL & MySQL (clsql, cffi)
Replies: 13
Views: 11422

Re: SBCL & MySQL (clsql, cffi)

I have not experience with clsql, but don't you have to load a clsql-mysql backend specific system explicitly? I think load cl-sql is just enough. Because when I set incorrect login/password pair it says: "Access denied for user 'root'@'localhost' (using password: YES)". So I think clsql ...
by erazer
Wed Dec 15, 2010 1:36 am
Forum: Common Lisp
Topic: SBCL & MySQL (clsql, cffi)
Replies: 13
Views: 11422

SBCL & MySQL (clsql, cffi)

Hello! I want to interconnect sbcl and mysql. I have installed required packets with clbuild. Then I do: (require :asdf) (asdf:operate 'asdf:load-op 'clsql) (use-package :clsql-user) (connect `("host" "dbname" "root" "password") :database-type :mysql) And it s...