Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorslotown
     
    I'm installing rev.1245 and using a MySQL database. However, I am stuck at this point in the installation where I'm getting this error message in the browser:

    Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? in /Applications/akelos_framework/vendor/adodb/drivers/adodb-postgres64.inc.php on line 653

    Fatal error: Connection to the database failed. pgsql://tjimenez:******@localhost/akelos_framework_dev in /Applications/akelos_framework/lib/AkActiveRecord/AkDbAdapter.php on line 68

    Would anyone know what is going on? Thanks in advance for your help.
    • CommentAuthorslotown
     
    I fixed this by editing the database.yml file: Changed "type" to mysql