我試圖建立一個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
的東西來替換那條線?