So, my app is on this link
I am able to create a tunnel using Pagoda client and I can view databases via the mySQL CLI.
That command being mysql -u<DBusername> -p<DBpassword> -htunnel.pagodabox.com -P<the port tunnel shows me to connect on e.g. 3306>
The app works locally. Okay, further i've searched and searched, did the app/database.php configuration, checked the socket, it's okay too, at /var/run/mysqld/mysqld.sock .
The error is this:
In my Boxfile, I have this before-deploy hook before_deploy:
- "php artisan migrate:install --env=production"
This causes the [PDOException] SQLSTATE[HY000] [2002] No such file or directory and hence it isn't deployed.
Any help\reference would be really welcome. Any more info can be given too. Cheers!