我试图建立一个MySQL数据库,但我收到此错误信息:Rails的:耙分贝:创建MySQL错误
rake db:create (in /Users/yookd/Desktop/rails/blog) WARNING: Global access to Rake DSL methods is deprecated. Please Include ... Rake::DSL into classes and modules which use the Rake DSL methods. WARNING: DSL method Blog::Application#task called at /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:215:in `initialize_tasks' db/test.sqlite3 already exists rake aborted! uninitialized constant Mysql2 Tasks: TOP => db:create (See full trace by running task with --trace)
这个任何援助? (上http://guides.rubyonrails.org/getting_started.html以下方向)
编辑:::
如何使用MySQL作为我的数据库,而不是SQLite的?在gemfile中,它明确指出:gem 'sqlite'
...我是否需要用类似gem mysql
的东西来替换那条线?