All project configurations you can find here
core.json you might:
- Configure the database connection.
- Configure the Sender email.
- Configure a default path to save the images whenever client send an media's upload.
MySQL Connection
"dataSources" : {
"default" : {
"dataSource" : "MySQL",
"host" : "127.0.0.1",
"port" : 3306,
"user" : "root",
"password" : "",
"database" : "dbname",
"connectionLimit" : 50
},
"test" : {
"dataSource" : "MySQL",
"host" : "127.0.0.1",
"port" : 3306,
"user" : "root",
"password" : "",
"database" : "dbname_test",
"connectionLimit" : 50
}
}
PostgreSQL Connection
"dataSources" : {
"default" : {
"dataSource" : "PgSQL",
"host" : "127.0.0.1",
"port" : 5432,
"user" : "root",
"password" : "",
"database" : "dbname",
"connectionLimit" : 50
},
"test" : {
"dataSource" : "PgSQL",
"host" : "127.0.0.1",
"port" : 5432,
"user" : "root",
"password" : "",
"database" : "dbname_test",
"connectionLimit" : 50
}
}