所以,我的应用在这个链接上
我可以使用 Pagoda 客户端创建隧道,并且可以通过 mySQL CLI 查看数据库。该命令正在mysql -u<DBusername> -p<DBpassword> -htunnel.pagodabox.com -P<the port tunnel shows me to connect on e.g. 3306>
该应用程序在本地运行。好的,我进一步搜索和搜索,做了app/database.php配置,检查了套接字,也可以,在/var/run/mysqld/mysqld.sock。
错误是这样的:在我的Boxfile中,我有这个部署前挂钩before_deploy:
- "php artisan migrate:install --env=production"
这会导致 [PDOException] SQLSTATE[HY000] [2002] No such file or directory 因此未部署。
任何帮助\参考都会非常受欢迎。也可以提供更多信息。干杯!