Hello, thanks for the answer! Sorry, I mistyped, I wrote: 'rails my_app -d mysql' and it creates everything, but the yaml shows it has sqlite3. Or is it normal? And I always have to change this file also if I typed '-d mysql'?
(It also has 5 questions during the creation: do I wnt to rreally overwrite the 3 dipatch, and 2 more files? I tired both y/n. Rails running, but I'm afraid not properly: '-v' and '--version' also gives getopt, Terminating...) May I ask: if you start a new Rails project, and type this -d mysql, than the yaml file still contains sqlite3? Or it should be different, right? Thanks a lot! best regards, gezope On jún. 3, 01:32, Philip Hallstrom <phi...@pjkh.com> wrote: > On Jun 2, 2010, at 1:39 PM, Gerő Zoltán wrote: > > > Hi all, > > I am a beginner developer on Rails. Unfortunately I have problems with the > > database connection for a week! I read many articles, but still not work > > properly. > > > The problem: If I start a new Rails app, and I type: rails app_name -d > > database -> it still make me an adapter with sqlite3. > > Are you literally typing "rails app_name -d database" or are you typing > "rails app_name -d mysql"? > > > I use Ubunu 10.4. I installed Ruby, Gem, than Rails. I chekcked: > > ruby -v -> 1.8.7 > > gem -v -> 1.3.5 > > rails -v -> getopt: invalid option -- 'v' (I don't understand this one, it > > should be different?) > > That should work on 2.3.8 at least (what i've got handy). "rails --version" > should also work. > > > > > I can start mysql monitoring, so it is installed and working well. > > > I reinstalled rails a few time, because first I forget > > -include-dependencies, or sudo, but now it seems okay, and it really makes > > me the basic app - but not with mysql! I read much, but still cannot solve > > it, any help is welcome! :) > > > Thanks a lot, > > gezope > > > -- > > 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-t...@googlegroups.com. > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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-t...@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.