diff --git a/Gemfile b/Gemfile index f05e8a1..66bff63 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ gem 'rails', '3.2.11' # gem 'rails', :git => 'git://github.com/rails/rails.git' gem 'sqlite3' +gem 'mysql2' # Gems used only for assets and not required diff --git a/config/database.yml b/config/database.yml index 51a4dd4..1b02c96 100644 --- a/config/database.yml +++ b/config/database.yml @@ -19,7 +19,13 @@ test: timeout: 5000 production: - adapter: sqlite3 - database: db/production.sqlite3 + adapter: mysql2 + encoding: utf8 + database: site_perso_app pool: 5 - timeout: 5000 + username: site_perso_app + password: site_perso_app + socket: /var/run/mysqld/mysqld.sock + + + \ No newline at end of file