Re: [google-appengine] Google AppEngine Flexible PHP - "SQLSTATE[HY000] [2002] No such file or directory"

2019-09-13 Thread Hampus Boås
Hello, Thank you for the quick response, I will try adding the env variables to the app.yml file. I've already have the beta setting. The strange thing about this, is that the server is responding for some days. But suddenly looses the connection ability to the SQL. Tanks! Den onsdag 11 sep

Re: [google-appengine] Google AppEngine Flexible PHP - "SQLSTATE[HY000] [2002] No such file or directory"

2019-09-11 Thread Poloyapoy's Prince
what On Wed, Sep 11, 2019, 7:51 PM Hampus Boås wrote: > Hello, > > I have several projects on Google AppEngine Flexible, but one of my > projects randomly after a couple of days looses the ability to connect to > the database. > > I'm using the unix socket to connect and i have SQL Admin activat

Re: [google-appengine] Google AppEngine Flexible PHP - "SQLSTATE[HY000] [2002] No such file or directory"

2019-09-11 Thread Mua Rachmann
Hi Hampus, Is your app.yaml file well configured with the database credentials? such as connection name, database name etc etc. DB_CONNECTION: mysql DB_HOST: localhost DB_DATABASE: xxx DB_USERNAME: xx DB_PASSWORD: xxx DB_SOCKET: /cloudsql/:us-central1: If running on beta beta_s

[google-appengine] Google AppEngine Flexible PHP - "SQLSTATE[HY000] [2002] No such file or directory"

2019-09-11 Thread Hampus Boås
Hello, I have several projects on Google AppEngine Flexible, but one of my projects randomly after a couple of days looses the ability to connect to the database. I'm using the unix socket to connect and i have SQL Admin activated. If i debug the sql instance and the flexible instance they ar