Advertisement
Guest User

Untitled

a guest
Mar 12th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. 'pgsql' => array(
  2. 'driver' => 'pgsql',
  3. 'host' => 'localhost',
  4. 'database' => 'dbname',
  5. 'username' => 'username',
  6. 'password' => 'password',
  7. 'charset' => 'utf8',
  8. 'prefix' => '',
  9. ),
  10.  
  11. $dbconn = pg_connect("host=localhost port=5432 dbname=dbname user=username password=password");
  12.  
  13. SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "::1", user "myusername", database "my_database", SSL OFF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement