It seems that the it did not create the database because it already existed! But now I am having a problem with the next command to export the database to the shell (as explained in the tutorial):
c:\Users\a\CLOJURE\shouter>export DATABASE_URL=postgresql://localhost:5432/shout er 'export' is not recognized as an internal or external command, operable program or batch file. Why is this not recognizing "export"? On Saturday, October 5, 2013 7:26:18 PM UTC-4, Zeynel wrote: > > I figured that I need to keep the command window where I initialized the > database open. What I thought was hung autovacuum launcher, it was actually > the LOG. So in another cmd window I tried to created the database "shouter" > but I get databse creation failed error. What am I doing wrong? > > > c:\>cd users/a/clojure/shouter > > c:\Users\a\CLOJURE\shouter>createdb shouter > createdb: database creation failed: ERROR: database "shouter" > > > > On Saturday, October 5, 2013 4:54:09 PM UTC-4, Zeynel wrote: >> >> I am going through this Heroku tutorial >> https://devcenter.heroku.com/articles/clojure-web-application. I am >> getting the following error when I try to create a table in the local >> Postgresql database >> >> user=> (sql/with-connection (System/getenv "DATABASE_URL") >> (sql/create-table :testing [:data :text])) >> >> >> IllegalArgumentException db-spec null is missing a required parameter >> >> clojure.java.jdbc/get-connection (jdbc.clj:192) >> >> What am I doing wrong? >> >> I also have a question at SO for a related issue: >> http://stackoverflow.com/questions/19201133/postgresql-log-autovacuum-launcher-started-is-hung-apparently >> > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.