title: create database with use of flasksql alchemy in google cloud sql server
body: <p>I try to connect to database in gcp postresql SQL-server from windows local machine. I connected with such command:</p>
  <pre><code>cloud_sql_proxy -instances=&lt;myProject:us-central1:myInstance&gt;=tcp:0.0.0.0:8080 
  &amp; 
  psql -U postgres -h &lt;Public IP address&gt;
  </code></pre>
  <p>Now I need to make database with use of <code>sqlalchemy</code>.
  I tried</p>
  <pre><code>app.config[&quot;SQLALCHEMY_DATABASE_URI&quot;] = 'postgres+psycopg2://&lt;db_user&gt;:&lt;db_pass&gt;@&lt;Public IP address&gt;/&lt;myInstance&gt;?host=&lt;myProject:us-central1:myInstance&gt;'
  </code></pre>
  <p>after command <code>flask db migrate</code> I got an error:</p>
  <pre><code>sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name &quot;&lt;myProject:us-central1:myInstance&gt;&quot; to address: Unknown host
  </code></pre>
  <p>THen I tried to make / at the end of myProject:us-central1:myInstance I got another error</p>
  <pre><code>sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not connect to server: Invalid argument (0x00002726/10022)
          Is the server running locally and accepting
          connections on Unix domain socket &quot;?host=&lt;myProject:us-central1:myInstance&gt;//.s.PGSQL.8080&quot;?
  </code></pre>
  <p>at the end I put <code>.s.PGSQL.8080</code> and got the same error:</p>
  <pre><code>server: Invalid argument (0x00002726/10022)
              Is the server running locally and accepting
              connections on Unix domain socket &quot;?host=&lt;myProject:us-central1:myInstance&gt;//.s.PGSQL.8080/.s.PGSQL.8080&quot;?
  </code></pre>
  <p>Tell me please how should I solve my problem?</p>