Hello,


I have deployed application on gcloud App Engine, I deployed successfully 
but getting *SQLSTATE[HY000] [2002] No such file or directory* while it 
working fine on local system.
I am following 
https://cloud.google.com/community/tutorials/run-laravel-on-appengine-flexible 
this 
tutorial.

I also followed https://www.youtube.com/watch?v=QhQ1PrYH3q0&t=230s but 
getting same issue.

Webstie url : https://phpsipl1.appspot.com/

                     phpsipl1.appspot.com


My app.yml file is:

runtime: php
env: flex

runtime_config:
  document_root: public

# Ensure we skip ".env", which is only for local development
skip_files:
  - .env

env_variables:
  
  # Put production environment variables here.
  
  APP_LOG: errorlog
  APP_KEY: base64:DZaQGd2hg/irj0YeTQtZxb3bY6Em25gMlLmoY8oDK7E=
  STORAGE_DIR: /tmp
  CACHE_DRIVER: database
  SESSION_DRIVER: database
  DB_HOST: localhost
  DB_DATABASE: blog
  DB_USERNAME: root
  DB_PASSWORD: target@2017
  DB_SOCKET: "/cloudsql/phpsipl1:us-central1:phpsipl"
beta_settings:
  cloud_sql_instances: "phpsipl1:us-central1:phpsipl" 

Please help me.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2d133494-7607-478f-a207-be4ca8055dcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Ravi Shanker

Reply via email to