blob: 135f44cb4c0ed81068a9d483725ff621c48f4f87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
## Sample Propel configuration file ##
propel:
## General settings ##
general:
# The name of your project.
# This affects names of generated files, etc.
project: catalog
version: 1.0.0-dev
## All Database settings ##
#
# This section replaces the old runtime-conf.xml file and it's also used by config:convert command
database:
# All database sources
connections:
default:
adapter: mysql
# Connection class. While developing you could use Propel\Runtime\Connection\DebugPDO
classname: Propel\Runtime\Connection\ConnectionWrapper
dsn: "mysql:host=localhost;dbname=catalog"
user: root
password:
# Driver options. See http://www.php.net/manual/en/pdo.construct.php
# options must be passed to the contructor of the connection object
options:
# See http://www.php.net/manual/en/pdo.getattribute.php
# Attributes are set via `setAttribute()` method, after the connection object is created
attributes:
#Propel specific settings
settings:
charset: utf8
## Runtime settings ##
runtime:
defaultConnection: default
# Datasources as defined in database.connections
connections:
- default
## Generator settings ##
generator:
defaultConnection: default
# Datasources as defined in database.connections
connections:
- default
|