This worked for me, with mysql 5.1 on Ubuntu Natty. The clojure_test library and fruit table already existed.
(ns foo.core (use [korma.db]) (use [korma.core])) (defdb mydb {:subprotocol "mysql" :subname "//127.0.0.1:3306/clojure_test" :user "clojure_test" :password "clojure_test"}) (defentity fruit (database mydb) (table :fruit)) (select fruit) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en