試圖在使用Bitnami AMI的EC2實例上安裝Recess API Framework 。我得到的錯誤 Error connecting to data source: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
我想這solution但事實證
我已經安裝了休會期: http://www.recessframework.org/ 配置了數據庫,添加了一個表,生成的模型和控制器。 在視頻教程中,您可以看到作者使用URI(如../something.json)來獲取JSON結果。我生成一個配置文件類,所以我瀏覽到../profile.json,但得到一個錯誤: Unable to provide desired content-type. D