Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (37 sloc) 906 Bytes
### Datamode YAML
#
# Datamode will look for this file in the executing script's working directory, then in ~/.datamode/datamode.yml.
# Structure:
#
# connections:
# <your-conn-name>:
# type: [postgres, mysql, sqlite] <required>
# host: [host ip] <defaults to localhost>
# port: [host port] <defaults to 3306 for mysql and 5432 for postgres>
# user: [username] <required>
# password: [password]
# dbname: [database name] <required>
# schema: [schema name] (optional)
# default: true (optional)
#
# <another-conn-name>:
# ...
connections:
postgres_example:
type: psql
host: localhost
port: 5432
user:
password:
dbname: your_db_name
schema:
mysql_example:
type: mysql
host: localhost
port: 3306
user:
password:
dbname: your_db_name
sqlite_example:
type: sqlite
host: some/local/path/Combined.sqlite