php - Unreadable (???) Postgres exception messages in Symfony 2 based project -


replaced with

I unreadable exception is getting the message where almost question the letter application based on Symphony 2.0 mark (?) Go. 18 and Principle 2.1.7

Here is an example:

SQLSTATE [08006] [7] ?????:? Pg_hba.conf ??? Pyramid Validity ??? Transcript ? Transcript "123.12.12.123" ??? Reciprocity "User name", ???? Line "Dbname", SSL ????

I am not worried why I am getting this exception, I just want to know how to make it readable.

Here's my theory configurations:

  # principle configuration principle: Dbal: Default_connection default connection: default: charset: UTF8 driver:% emp_database_driver% host:% emp_database_host% dbname:% emp_database_port% user:% emp_database_user% password:% emp_database_password% orm: auto_generate_proxy_classes:% kernel.debug% entity_managers: default: connection: default auto_mapping: true mapping: Stof Dottriks extension bundle: false  

Any thoughts?

Change you must console encoding but I translate your message

  SQLSTATE [08006] [7] FATAL: host "123.12.12.123" no pg_hba.conf entry, the user "username" for database "dbname", SSL OFF  

so your < Code> pg_hba.conf Correct the configuration file.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -