Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorjansen.nunes
     
    Hi!!!

    What the problem??

    inovare@jansen:/var/akelos_framework_teste$ sudo ./script/generate usuario
    Connection to the database failed. mssql://inovare:******@192.168.0.83:1433/prototipo_dev

    $database_settings = array(
    'production' => array(
    'type' => 'mssql', // mysql, sqlite or pgsql
    'database_file' => '', // you only need this for SQLite
    'host' => '192.168.0.83',
    'port' => '1433',
    'database_name' => 'prototipo',
    'user' => 'inovare',
    'password' => 'inovare',
    'options' => '' // persistent, debug, fetchmode, new
    ),

    'development' => array(
    'type' => 'mssql',
    'database_file' => '',
    'host' => '192.168.0.83',
    'port' => '1433',
    'database_name' => 'prototipo_dev',
    'user' => 'inovare',
    'password' => 'inovare',
    'options' => ''
    ),

    // Warning: The database defined as 'testing' will be erased and
    // re-generated from your development database when you run './script/test app'.
    // Do not set this db to the same as development or production.
    'testing' => array(
    'type' => 'mssql',
    'database_file' => '',
    'host' => '192.168.0.83',
    'port' => '1433 ',
    'database_name' => 'prototipo_tests',
    'user' => 'inovare',
    'password' => 'inovare',
    'options' => ''
    )
    );
    •  
      CommentAuthorbermi
     

    Hi Jansen,

    Akelos has support for MySQL, SQLite and PostgresSQL.

    Some reported limited support for Oracle before we introduced independent Db Adapters.

    If might be easy to add a new adapter for MSSQL at

    http://svn.akelos.org/trunk/lib/AkActiveRecord/AkDbAdapters*