Hi Fred, thanks for you reply.

My database.yml:

development:
    adapter: mysql
    encoding: utf8
    database: dom
    pool: 5
    username: my_username
    password: my_password
    socket: /tmp/mysql.sock

(same settings both for test and production environments just for now)

if I run ruby script/dbconsole  I get this error:

Couldn't find database client: mysql, mysql5. Check your $PATH and try
again.

Also if I run rake db:create it creates a database without any
problems, but any rake db:migrate raises an exception:

Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
(`version` varchar(255) NOT NULL) ENGINE=InnoDB


> Because you're new to rails. I can set up  rails and mysql pretty damn
> quick but it would probably take me way longer to set up php & mysql
> or some java based framework, but that's just to be expected given the
> tools I know.

The thing is - it seems there is no definite tutorial for ROR+MySQL, I
followed one to install ROR, then another to get mysql, then another
to install mysql gem and now I am stuck, because it just doesn't work.
I am not a unix-master, I don't want to compile some obscure versions
of mysql, then move all the files around, compile gems, then remove
this, install that...

Peter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to