Hi,
I am trying to launch a ojs3 app that runs fine with xampp on localhost on a heroku server with a cleardb mysql database. I have transferred the contents of my local database to the remote db but can’t resolve this issue. Any help is welcome. This is the errr message and stack trace:
Database connection failed: No such file or directory
Stack Trace: File: /app/classes/core/Application.inc.php line 38 Function: PKPApplication->__construct() File: /app/lib/pkp/includes/bootstrap.inc.php line 58 Function: Application->__construct() File: /app/index.php line 65 Function: require("/app/lib/pkp/includes/bootstrap.inc.php")
the heroku log is ojs2: Database connection failed: No such file or directory
I can connect to the DB with the same credentials remotely but via the app I get this problem
resolved - changed formatting of database info in config.inc.php