after run "radiant -d mysql myapp", the dabase.yml file is generated. ========================================================= # MySQL (default setup). Versions 4.1 and 5.0 are recommended. # # Install the MySQL driver: # gem install mysql # On MacOS X: # gem install mysql -- --include=/usr/local/lib # On Windows: # There is no gem for Windows. Install mysql.so from RubyForApache. # http://rubyforge.org/projects/rubyforapache # # And be sure to use new-style password hashing: # http://dev.mysql.com/doc/refman/5.0/en/old-client.html development: adapter: mysql database: myapp_development username: root password: host: localhost
# Warning: The database defined as 'test' will be erased and # re-generated from your development database when you run 'rake'. # Do not set this db to the same as development or production. test: adapter: mysql database: myapp_test username: root password: host: localhost production: adapter: mysql database: myapp_production username: root password: host: localhost On 4/9/07, John W. Long <[EMAIL PROTECTED]> wrote: > Jack Tang wrote: > > On 4/9/07, John W. Long <[EMAIL PROTECTED]> wrote: > >> That is really strange. It looks like you are having problems with the > >> mysql driver. Did you install using the One-Click installer? > > > > Yes, I did install using the One-Click installer > > > >> If not do > >> you know whether or not you are using the ruby-based mysql drivers or > >> the C-ruby mysql drivers? > > > > Ruby-based mysql driver. And it works fine in my own rails application. > > What does your config/database.yml look like? > > -- > John Long > http://wiseheartdesign.com > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > -- Keep Discovering ... ... http://jack.lifegoo.com _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
