Skip to content

Commit

Permalink
Restored database.example
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Toth committed Nov 12, 2013
1 parent 6b7b2fd commit 31e5611
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions config/database.yml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Please only use postgresql bound to a TCP port.
# Only postgresql is supportable for metasploit-framework
# these days. (No SQLite, no MySQL).
#
# To set up a metasploit database, follow the directions hosted at:
# https://fedoraproject.org/wiki/Metasploit_Postgres_Setup (Works on
# essentially any Linux distro, not just Fedora)
development: &pgsql
adapter: postgresql
database: metasploit_framework_development
username: metasploit_framework_development
password: __________________________________
host: localhost
port: 5432
pool: 5
timeout: 5

# You will often want to seperate your databases between dev
# mode and prod mode. Absent a production db, though, defaulting
# to dev is pretty sensible for many developer-users.
production: &production
<<: *pgsql

# 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.
#
# Note also, sqlite3 is totally unsupported by Metasploit now.
test:
<<: *pgsql
database: metasploit_framework_test
username: metasploit_framework_test
password: ___________________________

0 comments on commit 31e5611

Please sign in to comment.