Page 1 of 1

Levure application framework & hosted database

Posted: Wed Apr 11, 2018 1:20 pm
by nicoloose
Hi,

I have created an app for my business which needs to be accessed by multiple people in multiple locations. I used mysql for the last app developed using glxapp_framework but have upgraded to levure and am using an sqlite DB for this project. Does anyone have an example of how the connections.yml file would look if I were to host the database for both sqlite and mysql?

Thanks
N

Re: Levure application framework & hosted database

Posted: Fri Apr 13, 2018 5:18 pm
by nicoloose
Sorted!

Code: Select all

default connection: server
connections:
  server:
    adaptor: mysql
    database name: dbName
    username: dbUserName
    password: dbPassword
    host: IP Address
  local:
    adaptor: sqlite
    quote identifiers: false
    type:
    file: ./database/imprus.sqlite