title: How to import an .sql file into a Postgres database?
body: <p>When I run the following command to import the sql DB into PostgreSQL,</p>
  
  <pre><code>psql -U homestead -h localhost &lt;DB Name&gt; &lt; &lt;backup.sql&gt;
  </code></pre>
  
  <p>it throws the following syntax error.</p>
  
  <pre><code>ERROR:  unrecognized configuration parameter "sql_mode"
  ERROR:  unrecognized configuration parameter "time_zone"
  ERROR:  syntax error at or near "`"
  LINE 1: CREATE TABLE IF NOT EXISTS `addresses` (
  </code></pre>
  
  <p>Any idea to resolve this issue. Thanks in advance.</p>